- convert old-style parameter declarations (K&R) to modern style.
This commit is contained in:
parent
a892bf8284
commit
f087798e8b
@ -1186,7 +1186,7 @@ do_chown:
|
|||||||
return (FALSE);
|
return (FALSE);
|
||||||
} /* End Function copy_inode */
|
} /* End Function copy_inode */
|
||||||
|
|
||||||
static void free_config ()
|
static void free_config (void)
|
||||||
/* [SUMMARY] Free the configuration information.
|
/* [SUMMARY] Free the configuration information.
|
||||||
[RETURNS] Nothing.
|
[RETURNS] Nothing.
|
||||||
*/
|
*/
|
||||||
|
@ -9026,8 +9026,7 @@ setcmd(int argc, char **argv)
|
|||||||
|
|
||||||
#ifdef CONFIG_ASH_GETOPTS
|
#ifdef CONFIG_ASH_GETOPTS
|
||||||
static void
|
static void
|
||||||
getoptsreset(value)
|
getoptsreset(const char *value)
|
||||||
const char *value;
|
|
||||||
{
|
{
|
||||||
shellparam.optind = number(value);
|
shellparam.optind = number(value);
|
||||||
shellparam.optoff = -1;
|
shellparam.optoff = -1;
|
||||||
@ -9994,7 +9993,7 @@ static const char xxreadtoken_tokens[] = {
|
|||||||
#define xxreadtoken_singles \
|
#define xxreadtoken_singles \
|
||||||
(sizeof(xxreadtoken_chars) - xxreadtoken_doubles - 1)
|
(sizeof(xxreadtoken_chars) - xxreadtoken_doubles - 1)
|
||||||
|
|
||||||
static int xxreadtoken()
|
static int xxreadtoken(void)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
|
461
shell/msh.c
461
shell/msh.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user