Commit 58782098 by Kaveh R. Ghazi Committed by Kaveh Ghazi

toplev.c: PROTO -> PARAMS.

        * toplev.c: PROTO -> PARAMS.
        * toplev.h: Likewise.
        * tree.c: Likewise.
        * tree.h: Likewise.
        * unroll.c: Likewise.
        * varasm.c: Likewise.
        * varray.c: Likewise.
        * varray.h: Likewise.

From-SVN: r31462
parent cdadb1dd
2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* toplev.c: PROTO -> PARAMS.
* toplev.h: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.
* unroll.c: Likewise.
* varasm.c: Likewise.
* varray.c: Likewise.
* varray.h: Likewise.
2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* reload.c: PROTO -> PARAMS.
* reload.h: Likewise.
* reload1.c: Likewise.
......
......@@ -149,35 +149,35 @@ extern char *version_string;
extern int size_directive_output;
extern tree last_assemble_variable_decl;
static void set_target_switch PROTO((const char *));
static const char *decl_name PROTO((tree, int));
static void set_target_switch PARAMS ((const char *));
static const char *decl_name PARAMS ((tree, int));
extern void set_fatal_function PROTO((void (*)(const char *, va_list)));
static void float_signal PROTO((int)) ATTRIBUTE_NORETURN;
static void pipe_closed PROTO((int)) ATTRIBUTE_NORETURN;
extern void set_fatal_function PARAMS ((void (*)(const char *, va_list)));
static void float_signal PARAMS ((int)) ATTRIBUTE_NORETURN;
static void pipe_closed PARAMS ((int)) ATTRIBUTE_NORETURN;
#ifdef ASM_IDENTIFY_LANGUAGE
/* This might or might not be used in ASM_IDENTIFY_LANGUAGE. */
static void output_lang_identify PROTO((FILE *)) ATTRIBUTE_UNUSED;
static void output_lang_identify PARAMS ((FILE *)) ATTRIBUTE_UNUSED;
#endif
static void open_dump_file PROTO((const char *, const char *));
static void close_dump_file PROTO((void (*) (FILE *, rtx), rtx));
static void dump_rtl PROTO((const char *, tree, void (*) (FILE *, rtx), rtx));
static void clean_dump_file PROTO((const char *));
static void compile_file PROTO((char *));
static void display_help PROTO ((void));
static void mark_file_stack PROTO ((void *));
static void decode_d_option PROTO ((const char *));
static int decode_f_option PROTO ((const char *));
static int decode_W_option PROTO ((const char *));
static int decode_g_option PROTO ((const char *));
static unsigned independent_decode_option PROTO ((int, char **, unsigned));
static void print_version PROTO((FILE *, const char *));
static int print_single_switch PROTO((FILE *, int, int, const char *,
static void open_dump_file PARAMS ((const char *, const char *));
static void close_dump_file PARAMS ((void (*) (FILE *, rtx), rtx));
static void dump_rtl PARAMS ((const char *, tree, void (*) (FILE *, rtx), rtx));
static void clean_dump_file PARAMS ((const char *));
static void compile_file PARAMS ((char *));
static void display_help PARAMS ((void));
static void mark_file_stack PARAMS ((void *));
static void decode_d_option PARAMS ((const char *));
static int decode_f_option PARAMS ((const char *));
static int decode_W_option PARAMS ((const char *));
static int decode_g_option PARAMS ((const char *));
static unsigned independent_decode_option PARAMS ((int, char **, unsigned));
static void print_version PARAMS ((FILE *, const char *));
static int print_single_switch PARAMS ((FILE *, int, int, const char *,
const char *, const char *,
const char *, const char *));
static void print_switch_values PROTO((FILE *, int, int, const char *,
static void print_switch_values PARAMS ((FILE *, int, int, const char *,
const char *, const char *));
/* Length of line when printing switch values. */
......@@ -315,22 +315,22 @@ int sorrycount = 0;
2: and any other information that might be interesting, such as function
parameter types in C++. */
const char *(*decl_printable_name) PROTO ((tree, int));
const char *(*decl_printable_name) PARAMS ((tree, int));
/* Pointer to function to compute rtl for a language-specific tree code. */
typedef rtx (*lang_expand_expr_t)
PROTO ((union tree_node *, rtx, enum machine_mode,
PARAMS ((union tree_node *, rtx, enum machine_mode,
enum expand_modifier modifier));
lang_expand_expr_t lang_expand_expr = 0;
tree (*lang_expand_constant) PROTO((tree)) = 0;
tree (*lang_expand_constant) PARAMS ((tree)) = 0;
/* Pointer to function to finish handling an incomplete decl at the
end of compilation. */
void (*incomplete_decl_finalize_hook) PROTO((tree)) = 0;
void (*incomplete_decl_finalize_hook) PARAMS ((tree)) = 0;
/* Nonzero if generating code to do profiling. */
......@@ -1557,7 +1557,7 @@ set_float_handler (handler)
int
do_float_handler (fn, data)
void (*fn) PROTO ((PTR));
void (*fn) PARAMS ((PTR));
PTR data;
{
jmp_buf buf;
......@@ -1742,7 +1742,7 @@ open_dump_file (suffix, function_name)
/* Routine to close a dump file. */
static void
close_dump_file (func, insns)
void (*func) PROTO ((FILE *, rtx));
void (*func) PARAMS ((FILE *, rtx));
rtx insns;
{
TIMEVAR
......@@ -1765,7 +1765,7 @@ static void
dump_rtl (suffix, decl, func, insns)
const char *suffix;
tree decl;
void (*func) PROTO ((FILE *, rtx));
void (*func) PARAMS ((FILE *, rtx));
rtx insns;
{
open_dump_file (suffix, decl_printable_name (decl, 2));
......@@ -4486,7 +4486,7 @@ independent_decode_option (argc, argv, strings_processed)
Exit code is 35 if can't open files, 34 if fatal error,
33 if had nonfatal errors, else success. */
extern int main PROTO ((int, char **));
extern int main PARAMS ((int, char **));
int
main (argc, argv)
......
......@@ -26,26 +26,26 @@ union tree_node;
struct rtx_def;
#endif
extern int read_integral_parameter PROTO ((const char *, const char *,
extern int read_integral_parameter PARAMS ((const char *, const char *,
const int));
extern int count_error PROTO ((int));
extern void strip_off_ending PROTO ((char *, int));
extern void print_time PROTO ((const char *, int));
extern void debug_start_source_file PROTO ((char *));
extern void debug_end_source_file PROTO ((unsigned));
extern void debug_define PROTO ((unsigned, char *));
extern void debug_undef PROTO ((unsigned, char *));
extern void fatal PVPROTO ((const char *, ...))
extern int count_error PARAMS ((int));
extern void strip_off_ending PARAMS ((char *, int));
extern void print_time PARAMS ((const char *, int));
extern void debug_start_source_file PARAMS ((char *));
extern void debug_end_source_file PARAMS ((unsigned));
extern void debug_define PARAMS ((unsigned, char *));
extern void debug_undef PARAMS ((unsigned, char *));
extern void fatal PARAMS ((const char *, ...))
ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
extern void fatal_io_error PROTO ((const char *))
extern void fatal_io_error PARAMS ((const char *))
ATTRIBUTE_NORETURN;
extern void pfatal_with_name PROTO ((const char *))
extern void pfatal_with_name PARAMS ((const char *))
ATTRIBUTE_NORETURN;
extern void _fatal_insn_not_found PROTO ((struct rtx_def *,
extern void _fatal_insn_not_found PARAMS ((struct rtx_def *,
const char *, int,
const char *))
ATTRIBUTE_NORETURN;
extern void _fatal_insn PROTO ((const char *,
extern void _fatal_insn PARAMS ((const char *,
struct rtx_def *,
const char *, int,
const char *))
......@@ -62,73 +62,73 @@ extern void _fatal_insn PROTO ((const char *,
#define fatal_insn_not_found(insn) \
_fatal_insn_not_found (insn, __FILE__, __LINE__, 0)
#endif
extern void warning PVPROTO ((const char *, ...))
extern void warning PARAMS ((const char *, ...))
ATTRIBUTE_PRINTF_1;
extern void error PVPROTO ((const char *, ...))
extern void error PARAMS ((const char *, ...))
ATTRIBUTE_PRINTF_1;
extern void pedwarn PVPROTO ((const char *, ...))
extern void pedwarn PARAMS ((const char *, ...))
ATTRIBUTE_PRINTF_1;
extern void pedwarn_with_file_and_line PVPROTO ((const char *, int,
extern void pedwarn_with_file_and_line PARAMS ((const char *, int,
const char *, ...))
ATTRIBUTE_PRINTF_3;
extern void warning_with_file_and_line PVPROTO ((const char *, int,
extern void warning_with_file_and_line PARAMS ((const char *, int,
const char *, ...))
ATTRIBUTE_PRINTF_3;
extern void error_with_file_and_line PVPROTO ((const char *, int,
extern void error_with_file_and_line PARAMS ((const char *, int,
const char *, ...))
ATTRIBUTE_PRINTF_3;
extern void sorry PVPROTO ((const char *, ...))
extern void sorry PARAMS ((const char *, ...))
ATTRIBUTE_PRINTF_1;
extern void really_sorry PVPROTO((const char *, ...))
extern void really_sorry PARAMS ((const char *, ...))
ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
extern void default_print_error_function PROTO ((const char *));
extern void report_error_function PROTO ((const char *));
extern void default_print_error_function PARAMS ((const char *));
extern void report_error_function PARAMS ((const char *));
extern void rest_of_decl_compilation PROTO ((union tree_node *,
extern void rest_of_decl_compilation PARAMS ((union tree_node *,
const char *, int, int));
extern void rest_of_type_compilation PROTO ((union tree_node *, int));
extern void rest_of_compilation PROTO ((union tree_node *));
extern void rest_of_type_compilation PARAMS ((union tree_node *, int));
extern void rest_of_compilation PARAMS ((union tree_node *));
/* The *_with_decl functions aren't suitable for ATTRIBUTE_PRINTF. */
extern void pedwarn_with_decl PVPROTO ((union tree_node *,
extern void pedwarn_with_decl PARAMS ((union tree_node *,
const char *, ...));
extern void warning_with_decl PVPROTO ((union tree_node *,
extern void warning_with_decl PARAMS ((union tree_node *,
const char *, ...));
extern void error_with_decl PVPROTO ((union tree_node *,
extern void error_with_decl PARAMS ((union tree_node *,
const char *, ...));
extern void announce_function PROTO ((union tree_node *));
extern void announce_function PARAMS ((union tree_node *));
extern void error_for_asm PVPROTO((struct rtx_def *,
extern void error_for_asm PARAMS ((struct rtx_def *,
const char *, ...))
ATTRIBUTE_PRINTF_2;
extern void warning_for_asm PVPROTO((struct rtx_def *,
extern void warning_for_asm PARAMS ((struct rtx_def *,
const char *, ...))
ATTRIBUTE_PRINTF_2;
#if defined (_JBLEN) || defined (setjmp)
extern void set_float_handler PROTO((jmp_buf));
extern int push_float_handler PROTO((jmp_buf, jmp_buf));
extern void pop_float_handler PROTO((int, jmp_buf));
extern void set_float_handler PARAMS ((jmp_buf));
extern int push_float_handler PARAMS ((jmp_buf, jmp_buf));
extern void pop_float_handler PARAMS ((int, jmp_buf));
#endif
extern int do_float_handler PROTO((void (*) (PTR), PTR));
extern int do_float_handler PARAMS ((void (*) (PTR), PTR));
#ifdef BUFSIZ
extern void output_quoted_string PROTO ((FILE *, const char *));
extern void output_file_directive PROTO ((FILE *, const char *));
extern void output_quoted_string PARAMS ((FILE *, const char *));
extern void output_file_directive PARAMS ((FILE *, const char *));
#endif
extern void do_abort PROTO ((void)) ATTRIBUTE_NORETURN;
extern void botch PROTO ((const char *))
extern void do_abort PARAMS ((void)) ATTRIBUTE_NORETURN;
extern void botch PARAMS ((const char *))
ATTRIBUTE_NORETURN;
#ifdef BUFSIZ
extern void fnotice PROTO ((FILE *, const char *, ...))
extern void fnotice PARAMS ((FILE *, const char *, ...))
ATTRIBUTE_PRINTF_2;
#endif
extern int wrapup_global_declarations PROTO ((union tree_node **, int));
extern void check_global_declarations PROTO ((union tree_node **, int));
extern void note_deferral_of_defined_inline_function PROTO ((union tree_node *));
extern void set_message_length PROTO ((int));
extern int wrapup_global_declarations PARAMS ((union tree_node **, int));
extern void check_global_declarations PARAMS ((union tree_node **, int));
extern void note_deferral_of_defined_inline_function PARAMS ((union tree_node *));
extern void set_message_length PARAMS ((int));
extern int errorcount;
extern int warningcount;
extern int sorrycount;
......
......@@ -46,9 +46,9 @@ Boston, MA 02111-1307, USA. */
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
/* obstack.[ch] explicitly declined to prototype this. */
extern int _obstack_allocated_p PROTO ((struct obstack *h, PTR obj));
extern int _obstack_allocated_p PARAMS ((struct obstack *h, PTR obj));
static void unsave_expr_now_r PROTO ((tree));
static void unsave_expr_now_r PARAMS ((tree));
/* Tree nodes of permanent duration are allocated in this obstack.
They are the identifier nodes, and everything outside of
......@@ -245,7 +245,7 @@ static int next_type_uid = 1;
/* The language-specific function for alias analysis. If NULL, the
language does not do any special alias analysis. */
int (*lang_get_alias_set) PROTO((tree));
int (*lang_get_alias_set) PARAMS ((tree));
/* Here is how primitive or already-canonicalized types' hash
codes are made. */
......@@ -271,19 +271,19 @@ struct type_hash
#define TYPE_HASH_SIZE 59
struct type_hash *type_hash_table[TYPE_HASH_SIZE];
static void build_real_from_int_cst_1 PROTO((PTR));
static void set_type_quals PROTO((tree, int));
static void append_random_chars PROTO((char *));
static void mark_type_hash PROTO ((void *));
static void fix_sizetype PROTO ((tree));
static void build_real_from_int_cst_1 PARAMS ((PTR));
static void set_type_quals PARAMS ((tree, int));
static void append_random_chars PARAMS ((char *));
static void mark_type_hash PARAMS ((void *));
static void fix_sizetype PARAMS ((tree));
/* If non-null, these are language-specific helper functions for
unsave_expr_now. If present, LANG_UNSAVE is called before its
argument (an UNSAVE_EXPR) is to be unsaved, and all other
processing in unsave_expr_now is aborted. LANG_UNSAVE_EXPR_NOW is
called from unsave_expr_1 for language-specific tree codes. */
void (*lang_unsave) PROTO((tree *));
void (*lang_unsave_expr_now) PROTO((tree));
void (*lang_unsave) PARAMS ((tree *));
void (*lang_unsave_expr_now) PARAMS ((tree));
/* The string used as a placeholder instead of a source file name for
built-in tree nodes. The variable, which is dynamically allocated,
......@@ -348,8 +348,8 @@ gcc_obstack_init (obstack)
#define OBSTACK_CHUNK_FREE free
#endif
_obstack_begin (obstack, OBSTACK_CHUNK_SIZE, 0,
(void *(*) PROTO ((long))) OBSTACK_CHUNK_ALLOC,
(void (*) PROTO ((void *))) OBSTACK_CHUNK_FREE);
(void *(*) PARAMS ((long))) OBSTACK_CHUNK_ALLOC,
(void (*) PARAMS ((void *))) OBSTACK_CHUNK_FREE);
}
/* Save all variables describing the current status into the structure
......@@ -1117,7 +1117,7 @@ make_node (code)
/* A front-end can reset this to an appropriate function if types need
special handling. */
tree (*make_lang_type_fn) PROTO((enum tree_code)) = make_node;
tree (*make_lang_type_fn) PARAMS ((enum tree_code)) = make_node;
/* Return a new type (with the indicated CODE), doing whatever
language-specific processing is required. */
......@@ -3035,7 +3035,7 @@ stabilize_reference_1 (e)
Constants, decls, types and misc nodes cannot be. */
tree
build VPROTO((enum tree_code code, tree tt, ...))
build VPARAMS ((enum tree_code code, tree tt, ...))
{
#ifndef ANSI_PROTOTYPES
enum tree_code code;
......@@ -3202,7 +3202,7 @@ build1 (code, type, node)
or even garbage if their values do not matter. */
tree
build_nt VPROTO((enum tree_code code, ...))
build_nt VPARAMS ((enum tree_code code, ...))
{
#ifndef ANSI_PROTOTYPES
enum tree_code code;
......@@ -3232,7 +3232,7 @@ build_nt VPROTO((enum tree_code code, ...))
on the temp_decl_obstack, regardless. */
tree
build_parse_node VPROTO((enum tree_code code, ...))
build_parse_node VPARAMS ((enum tree_code code, ...))
{
#ifndef ANSI_PROTOTYPES
enum tree_code code;
......
......@@ -194,24 +194,24 @@ static int *splittable_regs_updates;
/* Forward declarations. */
static void init_reg_map PROTO((struct inline_remap *, int));
static rtx calculate_giv_inc PROTO((rtx, rtx, int));
static rtx initial_reg_note_copy PROTO((rtx, struct inline_remap *));
static void final_reg_note_copy PROTO((rtx, struct inline_remap *));
static void copy_loop_body PROTO((rtx, rtx, struct inline_remap *, rtx, int,
static void init_reg_map PARAMS ((struct inline_remap *, int));
static rtx calculate_giv_inc PARAMS ((rtx, rtx, int));
static rtx initial_reg_note_copy PARAMS ((rtx, struct inline_remap *));
static void final_reg_note_copy PARAMS ((rtx, struct inline_remap *));
static void copy_loop_body PARAMS ((rtx, rtx, struct inline_remap *, rtx, int,
enum unroll_types, rtx, rtx, rtx, rtx));
static void iteration_info PROTO((rtx, rtx *, rtx *, rtx, rtx));
static int find_splittable_regs PROTO((enum unroll_types, rtx, rtx, rtx, int,
static void iteration_info PARAMS ((rtx, rtx *, rtx *, rtx, rtx));
static int find_splittable_regs PARAMS ((enum unroll_types, rtx, rtx, rtx, int,
unsigned HOST_WIDE_INT));
static int find_splittable_givs PROTO((struct iv_class *, enum unroll_types,
static int find_splittable_givs PARAMS ((struct iv_class *, enum unroll_types,
rtx, rtx, rtx, int));
static int reg_dead_after_loop PROTO((rtx, rtx, rtx));
static rtx fold_rtx_mult_add PROTO((rtx, rtx, rtx, enum machine_mode));
static int verify_addresses PROTO((struct induction *, rtx, int));
static rtx remap_split_bivs PROTO((rtx));
static rtx find_common_reg_term PROTO((rtx, rtx));
static rtx subtract_reg_term PROTO((rtx, rtx));
static rtx loop_find_equiv_value PROTO((rtx, rtx));
static int reg_dead_after_loop PARAMS ((rtx, rtx, rtx));
static rtx fold_rtx_mult_add PARAMS ((rtx, rtx, rtx, enum machine_mode));
static int verify_addresses PARAMS ((struct induction *, rtx, int));
static rtx remap_split_bivs PARAMS ((rtx));
static rtx find_common_reg_term PARAMS ((rtx, rtx));
static rtx subtract_reg_term PARAMS ((rtx, rtx));
static rtx loop_find_equiv_value PARAMS ((rtx, rtx));
/* Try to unroll one loop and split induction variables in the loop.
......
......@@ -149,45 +149,45 @@ int size_directive_output;
tree last_assemble_variable_decl;
static const char *strip_reg_name PROTO((const char *));
static int contains_pointers_p PROTO((tree));
static void decode_addr_const PROTO((tree, struct addr_const *));
static int const_hash PROTO((tree));
static int compare_constant PROTO((tree,
static const char *strip_reg_name PARAMS ((const char *));
static int contains_pointers_p PARAMS ((tree));
static void decode_addr_const PARAMS ((tree, struct addr_const *));
static int const_hash PARAMS ((tree));
static int compare_constant PARAMS ((tree,
struct constant_descriptor *));
static char *compare_constant_1 PROTO((tree, char *));
static struct constant_descriptor *record_constant PROTO((tree));
static void record_constant_1 PROTO((tree));
static tree copy_constant PROTO((tree));
static void output_constant_def_contents PROTO((tree, int, int));
static void decode_rtx_const PROTO((enum machine_mode, rtx,
static char *compare_constant_1 PARAMS ((tree, char *));
static struct constant_descriptor *record_constant PARAMS ((tree));
static void record_constant_1 PARAMS ((tree));
static tree copy_constant PARAMS ((tree));
static void output_constant_def_contents PARAMS ((tree, int, int));
static void decode_rtx_const PARAMS ((enum machine_mode, rtx,
struct rtx_const *));
static int const_hash_rtx PROTO((enum machine_mode, rtx));
static int compare_constant_rtx PROTO((enum machine_mode, rtx,
static int const_hash_rtx PARAMS ((enum machine_mode, rtx));
static int compare_constant_rtx PARAMS ((enum machine_mode, rtx,
struct constant_descriptor *));
static struct constant_descriptor *record_constant_rtx PROTO((enum machine_mode,
static struct constant_descriptor *record_constant_rtx PARAMS ((enum machine_mode,
rtx));
static struct pool_constant *find_pool_constant PROTO((struct function *, rtx));
static void mark_constant_pool PROTO((void));
static void mark_constants PROTO((rtx));
static int output_addressed_constants PROTO((tree));
static void output_after_function_constants PROTO((void));
static void output_constructor PROTO((tree, int));
static struct pool_constant *find_pool_constant PARAMS ((struct function *, rtx));
static void mark_constant_pool PARAMS ((void));
static void mark_constants PARAMS ((rtx));
static int output_addressed_constants PARAMS ((tree));
static void output_after_function_constants PARAMS ((void));
static void output_constructor PARAMS ((tree, int));
#ifdef ASM_WEAKEN_LABEL
static void remove_from_pending_weak_list PROTO ((char *));
static void remove_from_pending_weak_list PARAMS ((char *));
#endif
#ifdef ASM_OUTPUT_BSS
static void asm_output_bss PROTO((FILE *, tree, char *, int, int));
static void asm_output_bss PARAMS ((FILE *, tree, char *, int, int));
#endif
#ifdef BSS_SECTION_ASM_OP
#ifdef ASM_OUTPUT_ALIGNED_BSS
static void asm_output_aligned_bss PROTO((FILE *, tree, char *, int, int));
static void asm_output_aligned_bss PARAMS ((FILE *, tree, char *, int, int));
#endif
#endif /* BSS_SECTION_ASM_OP */
static void mark_pool_constant PROTO((struct pool_constant *));
static void mark_pool_sym_hash_table PROTO((struct pool_sym **));
static void mark_const_hash_entry PROTO((void *));
static void asm_emit_uninitialised PROTO((tree, char *, int, int));
static void mark_pool_constant PARAMS ((struct pool_constant *));
static void mark_pool_sym_hash_table PARAMS ((struct pool_sym **));
static void mark_const_hash_entry PARAMS ((void *));
static void asm_emit_uninitialised PARAMS ((tree, char *, int, int));
static enum in_section { no_section, in_text, in_data, in_named
#ifdef BSS_SECTION_ASM_OP
......
......@@ -74,7 +74,7 @@ varray_grow (va, n)
#if defined ENABLE_CHECKING && (GCC_VERSION >= 2007)
extern void error PVPROTO ((const char *, ...)) ATTRIBUTE_PRINTF_1;
extern void error PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1;
void
varray_check_failed (va, n, file, line, function)
......
......@@ -90,7 +90,7 @@ typedef struct varray_head_tag {
/* Allocate a virtual array with NUM elements, each of which is SIZE bytes
long, named NAME. Array elements are zeroed. */
extern varray_type varray_init PROTO ((size_t, size_t, const char *));
extern varray_type varray_init PARAMS ((size_t, size_t, const char *));
#define VARRAY_CHAR_INIT(va, num, name) \
va = varray_init (num, sizeof (char), name)
......@@ -158,7 +158,7 @@ extern varray_type varray_init PROTO ((size_t, size_t, const char *));
do { if (vp) { free (vp); vp = (varray_type)0; } } while (0)
/* Grow/shrink the virtual array VA to N elements. */
extern varray_type varray_grow PROTO((varray_type, size_t));
extern varray_type varray_grow PARAMS ((varray_type, size_t));
#define VARRAY_GROW(VA, N) ((VA) = varray_grow (VA, N))
......@@ -166,7 +166,7 @@ extern varray_type varray_grow PROTO((varray_type, size_t));
/* Check for VARRAY_xxx macros being in bound. */
#if defined ENABLE_CHECKING && (GCC_VERSION >= 2007)
extern void varray_check_failed PROTO ((varray_type, size_t,
extern void varray_check_failed PARAMS ((varray_type, size_t,
const char *, int,
const char *)) ATTRIBUTE_NORETURN;
#define VARRAY_CHECK(VA, N, T) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment