diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-04-30 18:57:54 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-04-30 18:57:54 +0300 |
commit | 3f39626191970d57a8ad406b72474d565627b043 (patch) | |
tree | d44afa4a201a1ca8f5efc10870f69bda9276a752 /src/grecs.h | |
parent | a3599c1135e2eefe9bb0d910694150feddfa5439 (diff) | |
download | grecs-3f39626191970d57a8ad406b72474d565627b043.tar.gz grecs-3f39626191970d57a8ad406b72474d565627b043.tar.bz2 |
Bugfixes and improvements.
* am/grecs.m4 (GRECS_INCLUDES): New substitute variable.
* src/Makefile.am (INCLUDES): Add GRECS_INCLUDES.
* src/grecs-gram.y: Remove leftover uses of xmalloc.
* src/grecs.h (grecs_zalloc, grecs_calloc): New protos.
* src/mem.c (grecs_zalloc, grecs_calloc): New functions.
* src/wordsplit.c [ENABLE_NLS]: include gettext.h
Diffstat (limited to 'src/grecs.h')
-rw-r--r-- | src/grecs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grecs.h b/src/grecs.h index 077a01e..1273c7d 100644 --- a/src/grecs.h +++ b/src/grecs.h @@ -130,6 +130,7 @@ extern void *(*grecs_realloc_fun)(void *ptr, size_t size); extern void (*grecs_alloc_die_fun) (void); void *grecs_malloc(size_t size); +void *grecs_zalloc(size_t size); void *grecs_realloc(void *ptr, size_t size); void grecs_alloc_die(void); char *grecs_strdup(const char *str); |