first set of ANSI C changes: remove PARAMS

This commit is contained in:
Chet Ramey
2023-01-03 10:01:11 -05:00
parent b648a9ab79
commit 81e3a4fb07
232 changed files with 2607 additions and 3826 deletions
+8 -8
View File
@@ -1,7 +1,7 @@
/* command.h -- The structures used internally to represent commands, and
the extern declarations of the functions used to create them. */
/* Copyright (C) 1993-2021 Free Software Foundation, Inc.
/* Copyright (C) 1993-2022 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -398,13 +398,13 @@ extern Coproc sh_coproc;
/* Forward declarations of functions declared in copy_cmd.c. */
extern FUNCTION_DEF *copy_function_def_contents PARAMS((FUNCTION_DEF *, FUNCTION_DEF *));
extern FUNCTION_DEF *copy_function_def PARAMS((FUNCTION_DEF *));
extern FUNCTION_DEF *copy_function_def_contents (FUNCTION_DEF *, FUNCTION_DEF *);
extern FUNCTION_DEF *copy_function_def (FUNCTION_DEF *);
extern WORD_DESC *copy_word PARAMS((WORD_DESC *));
extern WORD_LIST *copy_word_list PARAMS((WORD_LIST *));
extern REDIRECT *copy_redirect PARAMS((REDIRECT *));
extern REDIRECT *copy_redirects PARAMS((REDIRECT *));
extern COMMAND *copy_command PARAMS((COMMAND *));
extern WORD_DESC *copy_word (WORD_DESC *);
extern WORD_LIST *copy_word_list (WORD_LIST *);
extern REDIRECT *copy_redirect (REDIRECT *);
extern REDIRECT *copy_redirects (REDIRECT *);
extern COMMAND *copy_command (COMMAND *);
#endif /* _COMMAND_H_ */