diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-08 00:22:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-08 00:22:23 +0000 |
commit | 60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch) | |
tree | 29d9258b64874c6c9838757a9c67ef62a6a0868c /misc/getusershell.c | |
parent | 2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff) | |
download | glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2 |
Use (void) in no-arguments function definitions.
Diffstat (limited to 'misc/getusershell.c')
-rw-r--r-- | misc/getusershell.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/getusershell.c b/misc/getusershell.c index 677377c..fc2c43b 100644 --- a/misc/getusershell.c +++ b/misc/getusershell.c @@ -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; |