From 89887ef6b054e4b41cd02fd2816caf12e2a90021 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 26 Nov 1991 14:39:52 +0000 Subject: [PATCH] made more acceptable for ANSI C --- modules/src/alloc/alloc.h | 6 +++--- modules/src/assert/assert.h | 2 +- modules/src/flt_arith/flt_arith.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/src/alloc/alloc.h b/modules/src/alloc/alloc.h index 9479e5e59..bd730d810 100644 --- a/modules/src/alloc/alloc.h +++ b/modules/src/alloc/alloc.h @@ -36,11 +36,11 @@ typedef struct _ALLOC_ { (_PALLOC_) ptr) #ifndef BOTCH_FREE #define st_free(ptr, phead, size) _A_st_free(ptr, phead, size) -#else def BOTCH_FREE +#else /* def BOTCH_FREE */ #define st_free(ptr, phead, size) (botch((char *)(ptr), size), \ _A_st_free(ptr, phead, size)) -#endif BOTCH_FREE +#endif /* BOTCH_FREE */ #define Free(p) free(p) -#endif __ALLOC_INCLUDED__ +#endif /* __ALLOC_INCLUDED__ */ diff --git a/modules/src/assert/assert.h b/modules/src/assert/assert.h index 66e9709bb..5fe28b2c6 100644 --- a/modules/src/assert/assert.h +++ b/modules/src/assert/assert.h @@ -14,4 +14,4 @@ #endif #else #define assert(exp) (1) -#endif DEBUG +#endif /* DEBUG */ diff --git a/modules/src/flt_arith/flt_arith.h b/modules/src/flt_arith/flt_arith.h index ddbb703af..1b4ce687b 100644 --- a/modules/src/flt_arith/flt_arith.h +++ b/modules/src/flt_arith/flt_arith.h @@ -26,4 +26,4 @@ extern int flt_status; #define FLT_BTSM 020 #define FLT_STRLEN 32 /* max length of result of flt_flt2str() */ -#endif __FLT_INCLUDED__ +#endif /* __FLT_INCLUDED__ */