commit | d488edcccca3b15c7b1bc0a56ff0848d8da22354 | [log] [tgz] |
---|---|---|
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | Sat Dec 30 21:32:40 2017 +0100 |
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | Sat Dec 30 21:40:58 2017 +0100 |
tree | c63a3b8d0b7ea8da7c43bbb9ad86f8bf3c333d8e | |
parent | aa37262ac40d0a26f1607f0f79202c5685605aa0 [diff] |
SMB: Address a clang warning The warning was: ./print-smb.c:28:15: warning: no previous extern declaration for non-static variable 'startbuf' [-Wmissing-variable-declarations] const u_char *startbuf = NULL; ^
diff --git a/print-smb.c b/print-smb.c index f691491..b3f855b 100644 --- a/print-smb.c +++ b/print-smb.c
@@ -25,6 +25,8 @@ static int request = 0; static int unicodestr = 0; +extern const u_char *startbuf; + const u_char *startbuf = NULL; struct smbdescript {