]> git.meshlink.io Git - meshlink/blobdiff - lib/xmalloc.c
More exhaustive list of changes - perhaps it can be worded differently?
[meshlink] / lib / xmalloc.c
index ce1888d8254ce1bd24056f2ec47114c9f550f354..150b1aa7b65acdf3074b907ff1da7355038b7a4b 100644 (file)
@@ -20,6 +20,7 @@
 #endif
 
 #include <sys/types.h>
+#include <stdio.h>
 
 #if STDC_HEADERS
 # include <stdlib.h>
@@ -86,8 +87,6 @@ xmalloc (n)
      size_t n;
 {
   void *p;
-  extern char*cp_file;
-  extern int cp_line;
 
   p = malloc (n);
   if (p == 0)