diff options
author | shennetsind <ind@henn.et> | 2013-05-17 15:39:13 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-17 15:39:13 -0300 |
commit | 105101af513e24c2d2ff113f5d9b1aaab1326255 (patch) | |
tree | d474510205fc9268b9f0eb1a5af04ee3068f0ca2 /src/common/malloc.h | |
parent | 080f7a22740225df70a488849587b462a5d6b1a3 (diff) | |
download | hercules-105101af513e24c2d2ff113f5d9b1aaab1326255.tar.gz hercules-105101af513e24c2d2ff113f5d9b1aaab1326255.tar.bz2 hercules-105101af513e24c2d2ff113f5d9b1aaab1326255.tar.xz hercules-105101af513e24c2d2ff113f5d9b1aaab1326255.zip |
Travis Fix Attempt #1
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/malloc.h')
-rw-r--r-- | src/common/malloc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/malloc.h b/src/common/malloc.h index 2e745481f..c0b1fda84 100644 --- a/src/common/malloc.h +++ b/src/common/malloc.h @@ -27,13 +27,13 @@ // no logging for minicore #if defined(MINICORE) && defined(LOG_MEMMGR) -#undef LOG_MEMMGR + #undef LOG_MEMMGR #endif # define aMalloc(n) malloclib->malloc (n,ALC_MARK) # define aCalloc(m,n) malloclib->calloc (m,n,ALC_MARK) # define aRealloc(p,n) malloclib->realloc (p,n,ALC_MARK) -# define aStrdup(p) malloclib->strdup (p,ALC_MARK) +# define aStrdup(p) malloclib->astrdup (p,ALC_MARK) # define aFree(p) malloclib->free (p,ALC_MARK) /////////////// Buffer Creation ///////////////// @@ -70,7 +70,7 @@ struct malloc_interface { void* (*malloc )(size_t size, const char *file, int line, const char *func); void* (*calloc )(size_t num, size_t size, const char *file, int line, const char *func); void* (*realloc )(void *p, size_t size, const char *file, int line, const char *func); - char* (*strdup )(const char *p, const char *file, int line, const char *func); + char* (*astrdup )(const char *p, const char *file, int line, const char *func); void (*free ) (void *p, const char *file, int line, const char *func); void (*memory_check)(void); |