diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2016-10-11 23:12:11 +0900 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2016-12-07 15:19:08 +0100 |
commit | 0d0f8450ffc6135c0938308254f378ac79612e75 (patch) | |
tree | e967f06086c4bfa900658c703b0b5f6fe7e01df2 /src/ranlib.c | |
parent | ee225020a880e41cd4007af09ae488bc9cf1a536 (diff) | |
download | elfutils-0d0f8450ffc6135c0938308254f378ac79612e75.tar.gz |
libelf: gelf_newehdr and gelf_newehdr should return void *.
unsigned long int is not always capable to have pointer in some cases
(LLP64, for example). Return a void pointer instead. Other libelf
implementations will also make this change (or already have).
Also update the documentation to state what is created and that NULL
is returned on error (don't document that the returned value is a
pointer to the actual header created).
Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'src/ranlib.c')
0 files changed, 0 insertions, 0 deletions