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.
This commit is contained in:
John Polstra 2000-09-18 20:40:32 +00:00
parent 48a7635f95
commit 0824e46a71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66043
3 changed files with 6 additions and 3 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */