From abb411daaca06182ec89d687a49a9f42ebf712d8 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 17 Dec 1991 11:41:12 +0000 Subject: [PATCH] Do not use '#endif xxx'; it is not allowed for ANSI C --- fast/f_c/Parameters | 4 ---- fcc/cemcom/Parameters.sun3 | 4 ---- fcc/cemcom/Parameters.vax4 | 4 ---- include/_tail_cc/assert.h | 2 +- 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/fast/f_c/Parameters b/fast/f_c/Parameters index dcb0ccd38..f95b68f55 100644 --- a/fast/f_c/Parameters +++ b/fast/f_c/Parameters @@ -53,10 +53,8 @@ #define SZ_WORD (arith)4 #define SZ_INT (arith)4 #define SZ_LONG (arith)4 -#ifndef NOFLOAT #define SZ_FLOAT (arith)4 #define SZ_DOUBLE (arith)8 -#endif NOFLOAT #define SZ_POINTER (arith)4 /* target machine alignment requirements */ @@ -65,10 +63,8 @@ #define AL_WORD SZ_WORD #define AL_INT SZ_WORD #define AL_LONG SZ_WORD -#ifndef NOFLOAT #define AL_FLOAT SZ_WORD #define AL_DOUBLE SZ_WORD -#endif NOFLOAT #define AL_POINTER SZ_WORD #define AL_STRUCT 1 #define AL_UNION 1 diff --git a/fcc/cemcom/Parameters.sun3 b/fcc/cemcom/Parameters.sun3 index 1d058a525..69ae60bd7 100644 --- a/fcc/cemcom/Parameters.sun3 +++ b/fcc/cemcom/Parameters.sun3 @@ -53,10 +53,8 @@ #define SZ_WORD (arith)4 #define SZ_INT (arith)4 #define SZ_LONG (arith)4 -#ifndef NOFLOAT #define SZ_FLOAT (arith)4 #define SZ_DOUBLE (arith)8 -#endif NOFLOAT #define SZ_POINTER (arith)4 /* target machine alignment requirements */ @@ -65,10 +63,8 @@ #define AL_WORD 2 #define AL_INT 2 #define AL_LONG 2 -#ifndef NOFLOAT #define AL_FLOAT 2 #define AL_DOUBLE 2 -#endif NOFLOAT #define AL_POINTER 2 #define AL_STRUCT 2 #define AL_UNION 2 diff --git a/fcc/cemcom/Parameters.vax4 b/fcc/cemcom/Parameters.vax4 index dcb0ccd38..f95b68f55 100644 --- a/fcc/cemcom/Parameters.vax4 +++ b/fcc/cemcom/Parameters.vax4 @@ -53,10 +53,8 @@ #define SZ_WORD (arith)4 #define SZ_INT (arith)4 #define SZ_LONG (arith)4 -#ifndef NOFLOAT #define SZ_FLOAT (arith)4 #define SZ_DOUBLE (arith)8 -#endif NOFLOAT #define SZ_POINTER (arith)4 /* target machine alignment requirements */ @@ -65,10 +63,8 @@ #define AL_WORD SZ_WORD #define AL_INT SZ_WORD #define AL_LONG SZ_WORD -#ifndef NOFLOAT #define AL_FLOAT SZ_WORD #define AL_DOUBLE SZ_WORD -#endif NOFLOAT #define AL_POINTER SZ_WORD #define AL_STRUCT 1 #define AL_UNION 1 diff --git a/include/_tail_cc/assert.h b/include/_tail_cc/assert.h index 2571abf15..b73d57a9b 100644 --- a/include/_tail_cc/assert.h +++ b/include/_tail_cc/assert.h @@ -15,5 +15,5 @@ #else #define assert(exp) (1) #define _assert(exp) (1) -#endif NDEBUG +#endif /* NDEBUG */ #endif /* _ASSERT_H */