summaryrefslogtreecommitdiff
path: root/include/libmnl
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-04-04 16:19:03 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-04-04 16:19:03 +0200
commitbd00b928e678b3ede5dbc5abc933539fe5cc31e6 (patch)
treec598104414480b55bc819f679715ba55b9228a1e /include/libmnl
parent117f033c413820739e6679c926a39a5b3f45ff79 (diff)
downloadlibmnl-bd00b928e678b3ede5dbc5abc933539fe5cc31e6.tar.gz
libmnl-bd00b928e678b3ede5dbc5abc933539fe5cc31e6.zip
remove mnl_align() as it's been replaced by MNL_ALIGN()
We remove mnl_align() since it has been replaced by the macro MNL_ALIGN(). The macro allows its use in static arrays and such. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libmnl')
-rw-r--r--include/libmnl/libmnl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h
index 8502eeb..efdae74 100644
--- a/include/libmnl/libmnl.h
+++ b/include/libmnl/libmnl.h
@@ -33,7 +33,6 @@ extern int mnl_socket_getsockopt(const struct mnl_socket *nl, int type, void *bu
#define MNL_ALIGN(len) (((len)+MNL_ALIGNTO-1) & ~(MNL_ALIGNTO-1))
#define MNL_NLMSG_HDRLEN MNL_ALIGN(sizeof(struct nlmsghdr))
-extern int mnl_align(int len);
extern size_t mnl_nlmsg_size(int len);
extern size_t mnl_nlmsg_total_size(int len);
extern size_t mnl_nlmsg_payload_size(const struct nlmsghdr *nlh);