diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-04 16:19:03 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-04 16:19:03 +0200 |
commit | bd00b928e678b3ede5dbc5abc933539fe5cc31e6 (patch) | |
tree | c598104414480b55bc819f679715ba55b9228a1e /include | |
parent | 117f033c413820739e6679c926a39a5b3f45ff79 (diff) | |
download | libmnl-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')
-rw-r--r-- | include/libmnl/libmnl.h | 1 |
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); |