projects
/
oweals
/
tinc.git
/ 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.
[oweals/tinc.git]
/
lib
/
xmalloc.c
diff --git
a/lib/xmalloc.c
b/lib/xmalloc.c
index e86fb0707c687a64c4781f9f665bbee7e97a4eac..e1ab3140b79e08c5b2c0077deb564afe041b2c2d 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;