]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix static/extern type clash in smblib
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sun, 17 Oct 2010 03:24:24 +0000 (21:24 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sun, 17 Oct 2010 03:24:24 +0000 (21:24 -0600)
lib/smblib/smblib-util.c

index d5eb989e9c54d1586ba2d48f8b76fa169820a073..affee554f268ba50cc77f333091ffe892eb112c5 100644 (file)
 #include <string.h>
 #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);