mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Use (void) in no-arguments function definitions.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user