mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 02:23:27 +08:00
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:
parent
aa37262ac4
commit
d488edcccc
@ -25,6 +25,8 @@ static const char tstr[] = "[|SMB]";
|
|||||||
static int request = 0;
|
static int request = 0;
|
||||||
static int unicodestr = 0;
|
static int unicodestr = 0;
|
||||||
|
|
||||||
|
extern const u_char *startbuf;
|
||||||
|
|
||||||
const u_char *startbuf = NULL;
|
const u_char *startbuf = NULL;
|
||||||
|
|
||||||
struct smbdescript {
|
struct smbdescript {
|
||||||
|
Loading…
Reference in New Issue
Block a user