/*
- * Sherlock Library -- String Allocation
+ * UCW Library -- String Allocation
*
* (c) 1997 Martin Mares <mj@ucw.cz>
*
#include <string.h>
-byte *
-xstrdup(byte *s)
+char *
+xstrdup(const char *s)
{
uns l = strlen(s) + 1;
return memcpy(xmalloc(l), s, l);