]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf.c
conf2: insert a node into a list as soon as possible instead of at the end
[libucw.git] / lib / conf.c
index 30608790b1ddb2eb158a3b91371b48f5d5df6750..50c3511a293d5a83ffd2f8a20c82c692426609dd 100644 (file)
@@ -122,6 +122,7 @@ static const struct unit units[] = {
        { 0, 0, 0 }
 };
 
+#if 0
 static const struct unit *cf_lookup_unit(byte *value, byte *end, char **msg)
 {
        if (end && *end) {
@@ -256,6 +257,7 @@ cf_parse_ip(byte **p, u32 *varp)
 error:
   return "Invalid IP address";
 }
+#endif
 
 byte *cf_set_item(byte *sect, byte *name, byte *value)
 {