]> git.karo-electronics.de Git - mdnsd.git/blobdiff - xht.h
Added netwatch to the Makefile
[mdnsd.git] / xht.h
diff --git a/xht.h b/xht.h
index db26b31fef70b41bb40f8fa818e343b5456c5587..1af42ea514c22e0f48c2b346b32540d039405538 100644 (file)
--- a/xht.h
+++ b/xht.h
@@ -10,7 +10,7 @@ xht xht_new(int prime);
 
 // caller responsible for key storage, no copies made (don't free it b4 xht_free()!)
 // set val to NULL to clear an entry, memory is reused but never free'd (# of keys only grows to peak usage)
-void xht_set(xht h, const char *key, void *val);
+void xht_set(xht h, char *key, void *val);
 
 // ooh! unlike set where key/val is in caller's mem, here they are copied into xht and free'd when val is 0 or xht_free()
 void xht_store(xht h, const char *key, int klen, void *val, int vlen);