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:
parent
48a7635f95
commit
0824e46a71
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66043
@ -58,7 +58,8 @@ struct link_map {
|
|||||||
struct r_debug {
|
struct r_debug {
|
||||||
int r_version; /* not used */
|
int r_version; /* not used */
|
||||||
struct link_map *r_map; /* list of loaded images */
|
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 {
|
enum {
|
||||||
RT_CONSISTENT, /* things are stable */
|
RT_CONSISTENT, /* things are stable */
|
||||||
RT_ADD, /* adding a shared library */
|
RT_ADD, /* adding a shared library */
|
||||||
|
@ -58,7 +58,8 @@ struct link_map {
|
|||||||
struct r_debug {
|
struct r_debug {
|
||||||
int r_version; /* not used */
|
int r_version; /* not used */
|
||||||
struct link_map *r_map; /* list of loaded images */
|
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 {
|
enum {
|
||||||
RT_CONSISTENT, /* things are stable */
|
RT_CONSISTENT, /* things are stable */
|
||||||
RT_ADD, /* adding a shared library */
|
RT_ADD, /* adding a shared library */
|
||||||
|
@ -58,7 +58,8 @@ struct link_map {
|
|||||||
struct r_debug {
|
struct r_debug {
|
||||||
int r_version; /* not used */
|
int r_version; /* not used */
|
||||||
struct link_map *r_map; /* list of loaded images */
|
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 {
|
enum {
|
||||||
RT_CONSISTENT, /* things are stable */
|
RT_CONSISTENT, /* things are stable */
|
||||||
RT_ADD, /* adding a shared library */
|
RT_ADD, /* adding a shared library */
|
||||||
|
Loading…
Reference in New Issue
Block a user