Forráskód Böngészése

fix missing static in getusershell (namespace pollution)

Rich Felker 12 éve
szülő
commit
129ca6c05d
1 módosított fájl, 1 hozzáadás és 1 törlés
  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)