From 77ef3e4f9108a657f85c89e6c23aca0b3cb38bb7 Mon Sep 17 00:00:00 2001 From: borutr Date: Sun, 26 Nov 2006 17:00:45 +0000 Subject: [PATCH] * support/cpp2/libiberty.h: commented out x*alloc() declarations since they are redefined by macros in support/cpp2/sdcc.h git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4486 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 5 +++++ support/cpp2/libiberty.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9e94592b..699dda8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-25 Borut Razem + + * support/cpp2/libiberty.h: commented out x*alloc() declarations + since they are redefined by macros in support/cpp2/sdcc.h + 2006-11-25 Borut Razem * support/cpp2/cppexp.c, support/cpp2/hashtable.h, diff --git a/support/cpp2/libiberty.h b/support/cpp2/libiberty.h index f4133c9a..1c50e817 100644 --- a/support/cpp2/libiberty.h +++ b/support/cpp2/libiberty.h @@ -264,7 +264,6 @@ extern void xexit (int status) ATTRIBUTE_NORETURN; /* Set the program name used by xmalloc. */ extern void xmalloc_set_program_name (const char *); -#endif /* Report an allocation failure. */ extern void xmalloc_failed (size_t) ATTRIBUTE_NORETURN; @@ -297,6 +296,7 @@ extern char *xstrndup (const char *, size_t) ATTRIBUTE_MALLOC; /* Copy an existing memory buffer to a new memory buffer without fail. */ extern void *xmemdup (const void *, size_t, size_t) ATTRIBUTE_MALLOC; +#endif /* Physical memory routines. Return values are in BYTES. */ extern double physmem_total (void); -- 2.47.2