Hi,

diff(1) stopped using xfree, a few weeks ago, to use free directly, but xmalloc.h still kept a leftover:

Index: xmalloc.h
===================================================================
RCS file: /cvs/src/usr.bin/diff/xmalloc.h,v
retrieving revision 1.3
diff -u -p -u -r1.3 xmalloc.h
--- xmalloc.h   29 Apr 2015 04:00:25 -0000      1.3
+++ xmalloc.h   12 Nov 2015 14:51:16 -0000
@@ -22,7 +22,6 @@
 void   *xmalloc(size_t);
 void   *xcalloc(size_t, size_t);
 void   *xreallocarray(void *, size_t, size_t);
-void     xfree(void *);
 char   *xstrdup(const char *);
 int     xasprintf(char **, const char *, ...)
                 __attribute__((__format__ (printf, 2, 3)))

Best regards,
Ricardo Mestre

Reply via email to