aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2000-09-18 20:40:32 +0000
committerJohn Polstra <jdp@FreeBSD.org>2000-09-18 20:40:32 +0000
commit0824e46a719c2d90158b8ad0ebe720948213dd9e (patch)
treea7d6642d38e224350671c6c9c32954248db08244
parent48a7635f9597a28033e98c048b65a02281d3d699 (diff)
downloadsrc-0824e46a719c2d90158b8ad0ebe720948213dd9e.tar.gz
src-0824e46a719c2d90158b8ad0ebe720948213dd9e.zip
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.
Notes
Notes: svn path=/head/; revision=66043
-rw-r--r--include/link.h3
-rw-r--r--sys/sys/link_aout.h3
-rw-r--r--sys/sys/link_elf.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/include/link.h b/include/link.h
index 3acb86a3b3d6..2339aeeade36 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 */
diff --git a/sys/sys/link_aout.h b/sys/sys/link_aout.h
index 3acb86a3b3d6..2339aeeade36 100644
--- a/sys/sys/link_aout.h
+++ b/sys/sys/link_aout.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 */
diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h
index 3acb86a3b3d6..2339aeeade36 100644
--- a/sys/sys/link_elf.h
+++ b/sys/sys/link_elf.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 */