From: Amos Jeffries Date: Sun, 17 Oct 2010 03:24:24 +0000 (-0600) Subject: Fix static/extern type clash in smblib X-Git-Tag: take1~181 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb3ffa704ed03e5b114049304ed9a33f059306fd;p=thirdparty%2Fsquid.git Fix static/extern type clash in smblib --- diff --git a/lib/smblib/smblib-util.c b/lib/smblib/smblib-util.c index d5eb989e9c..affee554f2 100644 --- a/lib/smblib/smblib-util.c +++ b/lib/smblib/smblib-util.c @@ -33,20 +33,20 @@ #include #endif -static int SMB_Types[] = {SMB_P_Core, - SMB_P_CorePlus, - SMB_P_DOSLanMan1, - SMB_P_DOSLanMan1, - SMB_P_LanMan1, - SMB_P_DOSLanMan2, - SMB_P_LanMan2, - SMB_P_LanMan2_1, - SMB_P_LanMan2_1, - SMB_P_NT1, - SMB_P_NT1, - SMB_P_NT1, - -1 - }; +int SMB_Types[] = {SMB_P_Core, + SMB_P_CorePlus, + SMB_P_DOSLanMan1, + SMB_P_DOSLanMan1, + SMB_P_LanMan1, + SMB_P_DOSLanMan2, + SMB_P_LanMan2, + SMB_P_LanMan2_1, + SMB_P_LanMan2_1, + SMB_P_NT1, + SMB_P_NT1, + SMB_P_NT1, + -1 + }; char *SMB_DOSTimToStr(int DOS_time); char *SMB_AtrToStr(int attribs, BOOL verbose);