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;
              ^
This commit is contained in:
Francois-Xavier Le Bail 2017-12-30 21:32:40 +01:00
parent aa37262ac4
commit d488edcccc

View File

@ -25,6 +25,8 @@ static const char tstr[] = "[|SMB]";
static int request = 0;
static int unicodestr = 0;
extern const u_char *startbuf;
const u_char *startbuf = NULL;
struct smbdescript {