fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow compilation with older compilers, such as /bin/cc on SunOS.

* fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
	compilation with older compilers, such as /bin/cc on SunOS.
	* fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
Fix one problem with bootstrap on SunOS 4.1.4 system.

From-SVN: r37641
This commit is contained in:
Mike Stump 2000-11-22 02:23:40 +00:00
parent 19322a5c41
commit 271fd958bb
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ typedef struct {
#define FIX_PROC_HEAD( fix ) \
static t_fix_proc fix; /* avoid warning */ \
static void fix PARAMS ((const char *, const char *, tFixDesc *)); /* avoid warning */ \
static void fix ( filname, text, p_fixd ) \
const char* filname; \
const char* text; \

View File

@ -58,7 +58,7 @@ typedef struct {
_FT_( "machine_name", machine_name_test )
#define TEST_FOR_FIX_PROC_HEAD( test ) \
t_test_proc test; /* avoid warning */ \
apply_fix_p_t test PARAMS(( tCC* file, tCC* text )); /* avoid warning */ \
static apply_fix_p_t test ( fname, text ) \
tCC* fname; \
tCC* text;