except.c (set_exception_lang_code, [...]): Use prototype-style definition if __STDC__, to match declaration in except.h.

* except.c (set_exception_lang_code, set_exception_version_code):
	Use prototype-style definition if __STDC__, to match declaration
	in except.h.
	* genemit.c: Change FAIL and DONE macros not to use loops.

From-SVN: r21675
This commit is contained in:
John Carr 1998-08-11 13:36:42 +00:00 committed by John Carr
parent cba96cb7e0
commit 53bfe9cda9
3 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,11 @@
Tue Aug 11 16:04:34 1998 John Carr <jfc@mit.edu>
* except.c (set_exception_lang_code, set_exception_version_code):
Use prototype-style definition if __STDC__, to match declaration
in except.h.
* genemit.c: Change FAIL and DONE macros not to use loops.
Tue Aug 11 12:27:03 1998 Jim Wilson <wilson@cygnus.com>
* dwarf2out.c (ASM_OUTPUT_DWARF_ADDR_CONST): Use

View File

@ -1930,15 +1930,23 @@ static short language_code = 0;
static short version_code = 0;
/* This routine will set the language code for exceptions. */
#ifdef __STDC__
void set_exception_lang_code (short code)
#else
void set_exception_lang_code (code)
short code;
#endif
{
language_code = code;
}
/* This routine will set the language version code for exceptions. */
#ifdef __STDC__
void set_exception_version_code (short code)
#else
void set_exception_version_code (code)
short code;
#endif
{
version_code = code;
}

View File

@ -782,8 +782,8 @@ from the machine description file `md'. */\n\n");
printf ("extern char *insn_operand_constraint[][MAX_RECOG_OPERANDS];\n\n");
printf ("extern rtx recog_operand[];\n");
printf ("#define operands emit_operand\n\n");
printf ("#define FAIL do {end_sequence (); return _val;} while (0)\n");
printf ("#define DONE do {_val = gen_sequence (); end_sequence (); return _val;} while (0)\n");
printf ("#define FAIL return (end_sequence (), _val)\n");
printf ("#define DONE return (_val = gen_sequence (), end_sequence (), _val)\n");
/* Read the machine description. */