]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't declare xmalloc directly.
authorJim Meyering <jim@meyering.net>
Fri, 10 Jan 2003 21:38:20 +0000 (21:38 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 10 Jan 2003 21:38:20 +0000 (21:38 +0000)
Include "xalloc.h" instead.

lib/getgroups.c

index 4e0d53a0b7c129409dcedebd36635131ffa77b01..07607e59ec2fe29acccc415fc0861861094b3caf 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdio.h>
 #include <sys/types.h>
 
-char *xmalloc ();
+#include "xalloc.h"
 
 /* On at least Ultrix 4.3 and NextStep 3.2, getgroups (0, 0) always fails.
    On other systems, it returns the number of supplemental groups for the