cache: remove now unused rem argument to cache_record_free()
[project/mdnsd.git] / util.c
diff --git a/util.c b/util.c
index 1708a404ca8ce20fa526409ba4f4a8544e24fef1..4684b70a5501f8a4ce47875a2f9643429278c72d 100644 (file)
--- a/util.c
+++ b/util.c
@@ -185,7 +185,7 @@ socket_setup(int fd, const char *ip)
 }
 
 void*
-memdup(void *d, int l)
+memdup(const void *d, int l)
 {
        void *r = malloc(l);
        if (!r)