X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=lib%2Fxmalloc.c;h=150b1aa7b65acdf3074b907ff1da7355038b7a4b;hb=71f05ff8956cb2e62181fcef763709b0de8faa68;hp=ce1888d8254ce1bd24056f2ec47114c9f550f354;hpb=3d218a31145cf6a4c625ed287cdf3f99e4fd9a03;p=meshlink diff --git a/lib/xmalloc.c b/lib/xmalloc.c index ce1888d8..150b1aa7 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -20,6 +20,7 @@ #endif #include +#include #if STDC_HEADERS # include @@ -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)