projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Prepended config_ to all configuration option names, because it confused
[tinc]
/
lib
/
xmalloc.c
diff --git
a/lib/xmalloc.c
b/lib/xmalloc.c
index
ce1888d
..
150b1aa
100644
(file)
--- a/
lib/xmalloc.c
+++ b/
lib/xmalloc.c
@@
-20,6
+20,7
@@
#endif
#include <sys/types.h>
#endif
#include <sys/types.h>
+#include <stdio.h>
#if STDC_HEADERS
# include <stdlib.h>
#if STDC_HEADERS
# include <stdlib.h>
@@
-86,8
+87,6
@@
xmalloc (n)
size_t n;
{
void *p;
size_t n;
{
void *p;
- extern char*cp_file;
- extern int cp_line;
p = malloc (n);
if (p == 0)
p = malloc (n);
if (p == 0)