summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lkc.h
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2015-01-27 17:11:42 +0100
committerMichal Marek <mmarek@suse.cz>2015-02-25 15:00:16 +0100
commit70529b1a1784503169416df19ce3d68746401340 (patch)
treebc69dcebcf52b2cd07a5d0ac7d39d38e8abd34dc /scripts/kconfig/lkc.h
parent4980bdf0213c9b5f876551b2ceb8ed8ece30deaf (diff)
downloadlinux-70529b1a1784503169416df19ce3d68746401340.tar.gz
linux-70529b1a1784503169416df19ce3d68746401340.tar.bz2
linux-70529b1a1784503169416df19ce3d68746401340.zip
kconfig: Get rid of the P() macro in headers
This was originally meant for dlopen()ing a potential kconfig shared library. The unused dlopen code has already been removed in commit 5a6f8d2b (kconfig: nuke LKC_DIRECT_LINK cruft), so let's remove the rest. The lkc_proto.h change was made with the following sed script: sed -r 's/^P\(([^,]*), *([^,]*), *(.*)\);/\2 \1\3;/' Plus some manual adjustments. Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r--scripts/kconfig/lkc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index d5daa7af8b49..e418a30bbc40 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -21,9 +21,7 @@ static inline char *bind_textdomain_codeset(const char *dn, char *c) { return c;
extern "C" {
#endif
-#define P(name,type,arg) extern type name arg
#include "lkc_proto.h"
-#undef P
#define SRCTREE "srctree"