mirror of
https://github.com/curl/curl.git
synced 2026-04-14 13:01:42 +08:00
Silences the warning:
CC socksd-socksd.o
socksd.c:143:13: warning: no previous extern declaration for
non-static variable 'reqlogfile' [-Wmissing-variable-declarations]
const char *reqlogfile = DEFAULT_REQFILE;
^
socksd.c:143:7: note: declare 'static' if the variable is not
intended to be used outside of this translation unit
const char *reqlogfile = DEFAULT_REQFILE;
^
1 warning generated.
... when compiling with clang 13.
Closes: #8799
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| base64.pl | ||
| CMakeLists.txt | ||
| disabled.c | ||
| fake_ntlm.c | ||
| getpart.c | ||
| getpart.h | ||
| Makefile.am | ||
| Makefile.inc | ||
| mqttd.c | ||
| resolve.c | ||
| rtspd.c | ||
| server_setup.h | ||
| server_sockaddr.h | ||
| sockfilt.c | ||
| socksd.c | ||
| sws.c | ||
| testpart.c | ||
| tftp.h | ||
| tftpd.c | ||
| util.c | ||
| util.h | ||