service: make the service txt field const uint8_t to reflect its use more accurately
[project/mdnsd.git] / util.h
diff --git a/util.h b/util.h
index fe9f1ea..689e3fd 100644 (file)
--- a/util.h
+++ b/util.h
@@ -24,7 +24,7 @@ extern struct uloop_fd listener;
 extern const char *iface_ip;
 extern int iface_index;
 
-void *memdup(void *d, int l);
+void *memdup(const void *d, int l);
 
 extern void signal_setup(void);
 extern int socket_setup(int fd, const char *ip);