From 907a9f8e5a93f5bcd449643eb3916a656d634758 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 20 Dec 2016 13:47:11 +0100 Subject: src: get rid of aliases and compat This machinery was introduced to avoid sudden compilation breakage of old nftables releases. With the upcoming release of 0.7 (and 0.6 which is now 6 months old) this is not required anymore. Moreover, users gain nothing from older releases since they are half-boiled and buggy. So let's get rid of aliases now. Bump LIBVERSION and update map file. Signed-off-by: Pablo Neira Ayuso --- include/utils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/utils.h') diff --git a/include/utils.h b/include/utils.h index 924df32..2f5cf34 100644 --- a/include/utils.h +++ b/include/utils.h @@ -11,10 +11,8 @@ #ifdef HAVE_VISIBILITY_HIDDEN # define __visible __attribute__((visibility("default"))) # define EXPORT_SYMBOL(x) typeof(x) (x) __visible; -# define EXPORT_SYMBOL_ALIAS(x, y) typeof(x) (x) __visible; __typeof (y) y __attribute ((alias (#x), visibility ("default"))) #else # define EXPORT_SYMBOL -# define EXPORT_SYMBOL_ALIAS #endif #define __noreturn __attribute__((__noreturn__)) -- cgit v1.2.3