path: root/include/libmnl/libmnl.h
diff options
authorPablo Neira Ayuso <>2010-04-04 16:19:03 +0200
committerPablo Neira Ayuso <>2010-04-04 16:19:03 +0200
commitbd00b928e678b3ede5dbc5abc933539fe5cc31e6 (patch)
treec598104414480b55bc819f679715ba55b9228a1e /include/libmnl/libmnl.h
parent117f033c413820739e6679c926a39a5b3f45ff79 (diff)
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 <>
Diffstat (limited to 'include/libmnl/libmnl.h')
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);