libnl-tiny: remove some more functions to reduce binary size
[openwrt/svn-archive/archive.git] / package / libnl-tiny / src / genl_mngt.c
index 5df9a6efc31654c23da95a2f7f99dcee104f455e..6c651796cbfac6dfee20b54a7daa5c91db048ec4 100644 (file)
@@ -136,6 +136,7 @@ errout:
 
 }
 
+#ifdef disabled
 char *genl_op2name(int family, int op, char *buf, size_t len)
 {
        struct genl_ops *ops;
@@ -158,7 +159,7 @@ char *genl_op2name(int family, int op, char *buf, size_t len)
        strncpy(buf, "unknown", len - 1);
        return NULL;
 }
-
+#endif
 
 /**
  * @name Register/Unregister