projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xstrdup now takes a const pointer as an argument.
[tinc]
/
lib
/
xmalloc.c
diff --git
a/lib/xmalloc.c
b/lib/xmalloc.c
index
e86fb07
..
e1ab314
100644
(file)
--- a/
lib/xmalloc.c
+++ b/
lib/xmalloc.c
@@
-127,7
+127,7
@@
xrealloc (p, n)
/* Duplicate a string */
-char *xstrdup(char *s)
+char *xstrdup(c
onst c
har *s)
{
char *p;