diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2011-06-01 16:14:47 -0400 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2011-06-06 15:32:20 -0400 |
commit | 5a6f8d2bd9e3392569ed6f29ea4d7210652f929b (patch) | |
tree | 46d91ac276ed7ac643227e665adb3267a30739b9 /scripts/kconfig/kconfig_load.c | |
parent | 84250386efa581fdf5578b68b9dd6b79998ac48d (diff) |
kconfig: nuke LKC_DIRECT_LINK cruft
This interface is not (and has never been ?) used by any frontend, just get rid
of it.
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Diffstat (limited to 'scripts/kconfig/kconfig_load.c')
-rw-r--r-- | scripts/kconfig/kconfig_load.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/scripts/kconfig/kconfig_load.c b/scripts/kconfig/kconfig_load.c deleted file mode 100644 index dbdcaad8232..00000000000 --- a/scripts/kconfig/kconfig_load.c +++ /dev/null @@ -1,35 +0,0 @@ -#include <dlfcn.h> -#include <stdio.h> -#include <stdlib.h> - -#include "lkc.h" - -#define P(name,type,arg) type (*name ## _p) arg -#include "lkc_proto.h" -#undef P - -void kconfig_load(void) -{ - void *handle; - char *error; - - handle = dlopen("./libkconfig.so", RTLD_LAZY); - if (!handle) { - handle = dlopen("./scripts/kconfig/libkconfig.so", RTLD_LAZY); - if (!handle) { - fprintf(stderr, "%s\n", dlerror()); - exit(1); - } - } - -#define P(name,type,arg) \ -{ \ - name ## _p = dlsym(handle, #name); \ - if ((error = dlerror())) { \ - fprintf(stderr, "%s\n", error); \ - exit(1); \ - } \ -} -#include "lkc_proto.h" -#undef P -} |