made more acceptable for ANSI C
This commit is contained in:
parent
58251a16dc
commit
89887ef6b0
3 changed files with 5 additions and 5 deletions
|
@ -36,11 +36,11 @@ typedef struct _ALLOC_ {
|
||||||
(_PALLOC_) ptr)
|
(_PALLOC_) ptr)
|
||||||
#ifndef BOTCH_FREE
|
#ifndef BOTCH_FREE
|
||||||
#define st_free(ptr, phead, size) _A_st_free(ptr, phead, size)
|
#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), \
|
#define st_free(ptr, phead, size) (botch((char *)(ptr), size), \
|
||||||
_A_st_free(ptr, phead, size))
|
_A_st_free(ptr, phead, size))
|
||||||
#endif BOTCH_FREE
|
#endif /* BOTCH_FREE */
|
||||||
|
|
||||||
#define Free(p) free(p)
|
#define Free(p) free(p)
|
||||||
|
|
||||||
#endif __ALLOC_INCLUDED__
|
#endif /* __ALLOC_INCLUDED__ */
|
||||||
|
|
|
@ -14,4 +14,4 @@
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define assert(exp) (1)
|
#define assert(exp) (1)
|
||||||
#endif DEBUG
|
#endif /* DEBUG */
|
||||||
|
|
|
@ -26,4 +26,4 @@ extern int flt_status;
|
||||||
#define FLT_BTSM 020
|
#define FLT_BTSM 020
|
||||||
|
|
||||||
#define FLT_STRLEN 32 /* max length of result of flt_flt2str() */
|
#define FLT_STRLEN 32 /* max length of result of flt_flt2str() */
|
||||||
#endif __FLT_INCLUDED__
|
#endif /* __FLT_INCLUDED__ */
|
||||||
|
|
Loading…
Reference in a new issue