diff options
author | Thomas Haller <thaller@redhat.com> | 2023-07-28 16:15:20 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-07-31 13:18:09 (GMT) |
commit | 78056ad2e827f69aec5f1b3c9f21cd59780c9414 (patch) | |
tree | ab34d2ce4971871261e796934914ec503f15f89b | |
parent | befc4ab4d79d7db90d036465c490a88da1c8734b (diff) | |
download | libnl-78056ad2e827f69aec5f1b3c9f21cd59780c9414.zip libnl-78056ad2e827f69aec5f1b3c9f21cd59780c9414.tar.gz libnl-78056ad2e827f69aec5f1b3c9f21cd59780c9414.tar.bz2 |
genl: add comment about wrongly exported symbol genl_resolve_id()
-rw-r--r-- | lib/genl/mngt.c | 1 | ||||
-rw-r--r-- | lib/genl/nl-priv-genl.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/genl/mngt.c b/lib/genl/mngt.c index 047048b..82ba0be 100644 --- a/lib/genl/mngt.c +++ b/lib/genl/mngt.c @@ -307,6 +307,7 @@ static int __genl_ops_resolve(struct nl_cache *ctrl, struct genl_ops *ops) return -NLE_OBJ_NOTFOUND; } +/* WARNING: this symbol is wrongly exported in libnl-genl-3.sym. */ int genl_resolve_id(struct genl_ops *ops) { struct nl_sock *sk; diff --git a/lib/genl/nl-priv-genl.h b/lib/genl/nl-priv-genl.h index ac592bd..ad85047 100644 --- a/lib/genl/nl-priv-genl.h +++ b/lib/genl/nl-priv-genl.h @@ -11,6 +11,7 @@ #define GENL_HDRSIZE(hdrlen) (GENL_HDRLEN + (hdrlen)) +/* WARNING: this symbol is wrongly exported in libnl-genl-3.sym. */ extern int genl_resolve_id(struct genl_ops *ops); #endif |