]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf-alloc.c
Some Perl modules have moved to UCW namespace.
[libucw.git] / lib / conf-alloc.c
index 8553e7f90ad16416e4faa7a9462e772df210920c..9f02fd568c92213736268c7d88908806054f4609 100644 (file)
@@ -26,18 +26,18 @@ cf_malloc_zero(uns size)
   return mp_alloc_zero(cf_pool, size);
 }
 
   return mp_alloc_zero(cf_pool, size);
 }
 
-byte *
-cf_strdup(byte *s)
+char *
+cf_strdup(const char *s)
 {
   return mp_strdup(cf_pool, s);
 }
 
 {
   return mp_strdup(cf_pool, s);
 }
 
-byte *
-cf_printf(char *fmt, ...)
+char *
+cf_printf(const char *fmt, ...)
 {
   va_list args;
   va_start(args, fmt);
 {
   va_list args;
   va_start(args, fmt);
-  byte *res = mp_vprintf(cf_pool, fmt, args);
+  char *res = mp_vprintf(cf_pool, fmt, args);
   va_end(args);
   return res;
 }
   va_end(args);
   return res;
 }