summaryrefslogtreecommitdiffstats
path: root/include/link.h
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2000-09-18 20:40:32 +0000
committerjdp <jdp@FreeBSD.org>2000-09-18 20:40:32 +0000
commitb0c44b0f1d8f37d0cdfebc07042846a68b112fa7 (patch)
tree5c9c0d3684c097c29cd74ce0e68559317b258f78 /include/link.h
parent0f9e89fe51b6f3b54069b24d31b6225e40ea55de (diff)
downloadFreeBSD-src-b0c44b0f1d8f37d0cdfebc07042846a68b112fa7.zip
FreeBSD-src-b0c44b0f1d8f37d0cdfebc07042846a68b112fa7.tar.gz
Update the prototype for "r_brk" to correspond with the change in
"src/libexec/rtld-elf/rtld.c" revision 1.48. This eliminates a warning when building the dynamic linker, and it doesn't seem to hurt anything else.
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index 3acb86a..2339aee 100644
--- a/include/link.h
+++ b/include/link.h
@@ -58,7 +58,8 @@ struct link_map {
struct r_debug {
int r_version; /* not used */
struct link_map *r_map; /* list of loaded images */
- void (*r_brk)(void); /* pointer to break point */
+ void (*r_brk)(struct r_debug *, struct link_map *);
+ /* pointer to break point */
enum {
RT_CONSISTENT, /* things are stable */
RT_ADD, /* adding a shared library */
OpenPOWER on IntegriCloud