aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dlfcn.h4
-rw-r--r--elf/ldd.bash.in2
-rw-r--r--elf/ldd.sh.in2
3 files changed, 6 insertions, 2 deletions
diff --git a/elf/dlfcn.h b/elf/dlfcn.h
index c2b66a7..973c7e1 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 */
diff --git a/elf/ldd.bash.in b/elf/ldd.bash.in
index 5269708f..311ef82 100644
--- a/elf/ldd.bash.in
+++ b/elf/ldd.bash.in
@@ -44,7 +44,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
--version print version information and exit
Report bugs to <bug-glibc@prep.ai.mit.edu>."
exit 0 ;;
- --) # Stop option prcessing.
+ --) # Stop option processing.
shift; break ;;
*)
break ;;
diff --git a/elf/ldd.sh.in b/elf/ldd.sh.in
index f8df62d..7b7276f 100644
--- a/elf/ldd.sh.in
+++ b/elf/ldd.sh.in
@@ -40,7 +40,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.'
--version print version information and exit
Report bugs to <bug-glibc@prep.ai.mit.edu>.'
exit 0 ;;
- --) # Stop option prcessing.
+ --) # Stop option processing.
shift; break ;;
*)
break ;;