aboutsummaryrefslogtreecommitdiff
path: root/src/grecs.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-04-30 18:57:54 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-04-30 18:57:54 +0300
commit3f39626191970d57a8ad406b72474d565627b043 (patch)
treed44afa4a201a1ca8f5efc10870f69bda9276a752 /src/grecs.h
parenta3599c1135e2eefe9bb0d910694150feddfa5439 (diff)
downloadgrecs-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.h1
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);

Return to:

Send suggestions and report system problems to the System administrator.