From bd00b928e678b3ede5dbc5abc933539fe5cc31e6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 4 Apr 2010 16:19:03 +0200 Subject: 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 --- include/libmnl/libmnl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/libmnl') 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); -- cgit v1.2.3