diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-01-12 22:47:13 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-01-12 22:47:13 +0000 |
commit | 6e090c767ad2d01b5038923a8527b070792814dc (patch) | |
tree | 6299ee4b870941aa46194ccf9c38c3cf995c7196 /gcc/c-common.c | |
parent | dd42e13519fd78d873e5aeb4528162a499a299eb (diff) | |
download | gcc-6e090c767ad2d01b5038923a8527b070792814dc.zip gcc-6e090c767ad2d01b5038923a8527b070792814dc.tar.gz gcc-6e090c767ad2d01b5038923a8527b070792814dc.tar.bz2 |
c-common.c: PROTO -> PARAMS.
* c-common.c: PROTO -> PARAMS.
* c-common.h: Likewise.
* c-decl.c: Likewise.
* c-iterate.c: Likewise.
* c-lang.c: Likewise.
* c-lex.c: Likewise.
* c-lex.h: Likewise.
* c-parse.in: Likewise.
* c-pragma.c: Likewise.
* c-pragma.h: Likewise.
* c-tree.h: Likewise.
* c-typeck.c: Likewise.
* objc/objc-act.c: Likewise.
* objc/objc-act.h: Likewise.
From-SVN: r31362
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 988ed50..b07600c 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -147,15 +147,15 @@ enum attrs {A_PACKED, A_NOCOMMON, A_COMMON, A_NORETURN, A_CONST, A_T_UNION, enum format_type { printf_format_type, scanf_format_type, strftime_format_type }; -static void declare_hidden_char_array PROTO((const char *, const char *)); -static void add_attribute PROTO((enum attrs, const char *, - int, int, int)); -static void init_attributes PROTO((void)); -static void record_function_format PROTO((tree, tree, enum format_type, - int, int)); -static void record_international_format PROTO((tree, tree, int)); -static tree c_find_base_decl PROTO((tree)); -static int default_valid_lang_attribute PROTO ((tree, tree, tree, tree)); +static void declare_hidden_char_array PARAMS ((const char *, const char *)); +static void add_attribute PARAMS ((enum attrs, const char *, + int, int, int)); +static void init_attributes PARAMS ((void)); +static void record_function_format PARAMS ((tree, tree, enum format_type, + int, int)); +static void record_international_format PARAMS ((tree, tree, int)); +static tree c_find_base_decl PARAMS ((tree)); +static int default_valid_lang_attribute PARAMS ((tree, tree, tree, tree)); /* Keep a stack of if statements. We record the number of compound statements seen up to the if keyword, as well as the line number @@ -169,7 +169,7 @@ typedef struct const char *file; int needs_warning; } if_elt; -static void tfaff PROTO((void)); +static void tfaff PARAMS ((void)); static if_elt *if_stack; @@ -503,7 +503,7 @@ default_valid_lang_attribute (attr_name, attr_args, decl, type) /* Return a 1 if ATTR_NAME and ATTR_ARGS denote a valid language-specific attribute for either declaration DECL or type TYPE and 0 otherwise. */ -int (*valid_lang_attribute) PROTO ((tree, tree, tree, tree)) +int (*valid_lang_attribute) PARAMS ((tree, tree, tree, tree)) = default_valid_lang_attribute; /* Process the attributes listed in ATTRIBUTES and PREFIX_ATTRIBUTES @@ -1280,7 +1280,7 @@ typedef struct international_format_info static international_format_info *international_format_list = NULL; -static void check_format_info PROTO((function_format_info *, tree)); +static void check_format_info PARAMS ((function_format_info *, tree)); /* Initialize the table of functions to perform format checking on. The ANSI functions are always checked (whether <stdio.h> is |