Jelajahi Sumber

fix missing static in getusershell (namespace pollution)

Rich Felker 12 tahun lalu
induk
melakukan
129ca6c05d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)