Browse Source

fix missing static in getusershell (namespace pollution)

Rich Felker 12 years ago
parent
commit
129ca6c05d
1 changed files with 1 additions and 1 deletions
  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)