summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-11-19 12:24:28 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2010-11-19 12:24:28 +0100
commit68dd5828052a965a7c8e84d0b8c9d4996ff3f410 (patch)
treee98182c0794ea7a07323bacfbf6cfd82611fff97
parenta2975d2eb058d187db616b67a5e7d88382dbcc6a (diff)
downloadlibmnl-68dd5828052a965a7c8e84d0b8c9d4996ff3f410.tar.gz
libmnl-68dd5828052a965a7c8e84d0b8c9d4996ff3f410.zip
nlmsg: remove unexisting mnl_nlmsg_total_size
Remove function whose implementation does not exist. It seems to me like a leftover from the early days of the library. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--include/libmnl/libmnl.h1
-rw-r--r--src/libmnl.map1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h
index 01ae484..7ef8d5e 100644
--- a/include/libmnl/libmnl.h
+++ b/include/libmnl/libmnl.h
@@ -50,7 +50,6 @@ MNL_API int mnl_socket_getsockopt(const struct mnl_socket *nl, int type, void *b
#define MNL_NLMSG_HDRLEN MNL_ALIGN(sizeof(struct nlmsghdr))
MNL_API size_t mnl_nlmsg_size(size_t len);
-MNL_API size_t mnl_nlmsg_total_size(size_t len);
MNL_API size_t mnl_nlmsg_get_payload_len(const struct nlmsghdr *nlh);
/* Netlink message header builder */
diff --git a/src/libmnl.map b/src/libmnl.map
index 804aa0e..efa2da1 100644
--- a/src/libmnl.map
+++ b/src/libmnl.map
@@ -39,7 +39,6 @@ global:
mnl_nlmsg_put_header;
mnl_nlmsg_seq_ok;
mnl_nlmsg_size;
- mnl_nlmsg_total_size;
mnl_socket_bind;
mnl_socket_close;
mnl_socket_get_fd;