aboutsummaryrefslogtreecommitdiffstats
path: root/package/libnl-tiny/src/genl_mngt.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/libnl-tiny/src/genl_mngt.c')
-rw-r--r--package/libnl-tiny/src/genl_mngt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libnl-tiny/src/genl_mngt.c b/package/libnl-tiny/src/genl_mngt.c
index 5df9a6efc3..6c651796cb 100644
--- a/package/libnl-tiny/src/genl_mngt.c
+++ b/package/libnl-tiny/src/genl_mngt.c
@@ -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