From 576dde394a69510f98307f53a93002c91271de24 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Mon, 6 Jul 1998 22:48:25 +0000 Subject: [PATCH] using g_malloc, g_realloc and g_strdup. * mountlist.c: using g_malloc, g_realloc and g_strdup. --- sysdeps/common/mountlist.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sysdeps/common/mountlist.c b/sysdeps/common/mountlist.c index cfe144e8..c56824be 100644 --- a/sysdeps/common/mountlist.c +++ b/sysdeps/common/mountlist.c @@ -34,10 +34,17 @@ void free (); #include #endif +#include + +#undef xmalloc +#undef xrealloc +#undef xstrdup + +#define xmalloc g_malloc +#define xrealloc g_realloc +#define xstrdup g_strdup + char *strstr (); -char *xmalloc (); -char *xrealloc (); -char *xstrdup (); void error (); #ifdef HAVE_SYS_PARAM_H