]> git.meshlink.io Git - catta/blobdiff - avahi-core/util.c
remove the NotFound event, as it is not used anymore
[catta] / avahi-core / util.c
index 77632fde1221f55bb2ba235e70604c6e438f4867..41229c5691fa610cc808ac7ea1a7862c82c4fc41 100644 (file)
@@ -36,7 +36,7 @@ void avahi_hexdump(const void* p, size_t size) {
     const uint8_t *c = p;
     assert(p);
 
-    printf("Dumping %u bytes from %p:\n", size, p);
+    printf("Dumping %lu bytes from %p:\n", (unsigned long) size, p);
     
     while (size > 0) {
         unsigned i;
@@ -92,17 +92,6 @@ char *avahi_format_mac_address(const uint8_t* mac, size_t size) {
     return r;
 }
 
-char *avahi_strdown(char *s) {
-    char *c;
-    
-    assert(s);
-
-    for (c = s; *c; c++)
-        *c = (char) tolower(*c);
-
-    return s;
-}
-
 char *avahi_strup(char *s) {
     char *c;
     assert(s);