Parcourir la source

fix missing static in getusershell (namespace pollution)

Rich Felker il y a 12 ans
Parent
commit
129ca6c05d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/misc/getusershell.c

+ 1 - 1
src/misc/getusershell.c

@@ -6,7 +6,7 @@
 static const char defshells[] = "/bin/sh\n/bin/csh\n";
 
 static char *line;
-size_t linesize;
+static size_t linesize;
 static FILE *f;
 
 void endusershell(void)