summaryrefslogtreecommitdiff
path: root/libdwfl/libdwfl.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-28 22:32:58 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-28 22:32:58 +0000
commit4d52736e3118cd0537f032c9c2874a1b29627b9c (patch)
treeae1bb3306803b86efd2a2e233fa4c4854dcbf1da /libdwfl/libdwfl.h
parent282bf3213efed5eee60ffb265a8ccc87d04b4b62 (diff)
downloadelfutils-4d52736e3118cd0537f032c9c2874a1b29627b9c.tar.gz
Add a few missing extern for function prototypes.
Diffstat (limited to 'libdwfl/libdwfl.h')
-rw-r--r--libdwfl/libdwfl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libdwfl/libdwfl.h b/libdwfl/libdwfl.h
index ad74f86a..c319d19e 100644
--- a/libdwfl/libdwfl.h
+++ b/libdwfl/libdwfl.h
@@ -49,10 +49,10 @@ typedef struct
/* Start a new session with the library. */
-Dwfl *dwfl_begin (const Dwfl_Callbacks *callbacks);
+extern Dwfl *dwfl_begin (const Dwfl_Callbacks *callbacks);
/* End a session. */
-void dwfl_end (Dwfl *);
+extern void dwfl_end (Dwfl *);
/* Return error code of last failing function call. This value is kept
separately for each thread. */
@@ -173,14 +173,14 @@ extern int dwfl_linux_kernel_report_modules (Dwfl *dwfl);
/* Call dwfl_report_module for each file mapped into the address space of PID.
Returns zero on success, -1 if dwfl_report_module failed,
or an errno code if opening the kernel binary failed. */
-int dwfl_linux_proc_report (Dwfl *dwfl, pid_t pid);
+extern int dwfl_linux_proc_report (Dwfl *dwfl, pid_t pid);
/* Trivial find_elf callback for use with dwfl_linux_proc_report.
This uses the module name as a file name directly and tries to open it
if it begin with a slash, or handles the magic string "[vdso]". */
-int dwfl_linux_proc_find_elf (Dwfl_Module *mod, void **userdata,
- const char *module_name, Dwarf_Addr base,
- char **file_name, Elf **);
+extern int dwfl_linux_proc_find_elf (Dwfl_Module *mod, void **userdata,
+ const char *module_name, Dwarf_Addr base,
+ char **file_name, Elf **);
/* Standard argument parsing for using a standard callback set. */
struct argp;