aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dlfcn.h')
-rw-r--r--elf/dlfcn.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/dlfcn.h b/elf/dlfcn.h
index c2b66a7797..973c7e1cc8 100644
--- a/elf/dlfcn.h
+++ b/elf/dlfcn.h
@@ -38,6 +38,8 @@
objects were loaded. */
#define RTLD_NEXT ((void *) -1l)
+__BEGIN_DECLS
+
/* Open the shared object FILE and map it in; return a handle that can be
passed to `dlsym' to get symbol values from it. */
extern void *dlopen __P ((__const char *__file, int __mode));
@@ -66,4 +68,6 @@ typedef struct
} Dl_info;
extern int dladdr __P ((void *__address, Dl_info *__info));
+__END_DECLS
+
#endif /* dlfcn.h */