]> mj.ucw.cz Git - libucw.git/blobdiff - lib/alloc_str.c
Use pkg-config to handle library dependencies.
[libucw.git] / lib / alloc_str.c
index ab7b467213b4c0303abfca4046e846648e94078b..05e803c737ef1b373b7d731fe6ff620e7202ddb9 100644 (file)
@@ -11,8 +11,8 @@
 
 #include <string.h>
 
-byte *
-xstrdup(byte *s)
+char *
+xstrdup(const char *s)
 {
   uns l = strlen(s) + 1;
   return memcpy(xmalloc(l), s, l);