diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/link.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/link.h b/elf/link.h index 9b6e9df7e6..e8203596ff 100644 --- a/elf/link.h +++ b/elf/link.h @@ -70,7 +70,8 @@ extern struct r_debug _r_debug; of whatever module refers to `_DYNAMIC'. So, to find its own `struct r_debug', a program could do: for (dyn = _DYNAMIC; dyn->d_tag != DT_NULL) - if (dyn->d_tag == DT_DEBUG) r_debug = (struct r_debug) dyn->d_un.d_ptr; + if (dyn->d_tag == DT_DEBUG) + r_debug = (struct r_debug *) dyn->d_un.d_ptr; */ extern ElfW(Dyn) _DYNAMIC[]; |