]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - misc/getusershell.c
iconv, localedef: avoid floating point rounding differences [BZ #24372]
[thirdparty/glibc.git] / misc / getusershell.c
index 677377c3f7fb9081ad98402b9bc01087821e0a88..fc2c43b771439c08119d5402b283c2b63629ad08 100644 (file)
@@ -62,7 +62,7 @@ static char **initshells (void) __THROW;
  * Get a list of shells from _PATH_SHELLS, if it exists.
  */
 char *
-getusershell()
+getusershell (void)
 {
        char *ret;
 
@@ -75,7 +75,7 @@ getusershell()
 }
 
 void
-endusershell()
+endusershell (void)
 {
 
        free(shells);
@@ -86,14 +86,14 @@ endusershell()
 }
 
 void
-setusershell()
+setusershell (void)
 {
 
        curshell = initshells();
 }
 
 static char **
-initshells()
+initshells (void)
 {
        char **sp, *cp;
        FILE *fp;