diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-03-16 17:19:23 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-03-19 18:03:58 -0700 |
commit | de8e70596896cc9f85498a9981196ebc4465172e (patch) | |
tree | 2bac4cf6bb0fd153bc943a18fc0f4deef1e921a2 /ld/pe-dll.c | |
parent | 2f5dea45584c09f23702f887b1ecbe16cf16ba05 (diff) | |
download | gdb-de8e70596896cc9f85498a9981196ebc4465172e.zip gdb-de8e70596896cc9f85498a9981196ebc4465172e.tar.gz gdb-de8e70596896cc9f85498a9981196ebc4465172e.tar.bz2 |
gprofng: Use prototype to call libc functions
libcollector may not link against libC.
We use dlsym() to get a function from libc.
In some files, pointers to these functions do not have prototypes.
I also moved the shared definitions to libcollector/collect.h.
gprofng/ChangeLog
2023-03-15 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
libcollector/collector.c: Add prototypes.
libcollector/dispatcher.c: Likewise.
libcollector/heaptrace.c: Likewise.
libcollector/iotrace.c: Likewise.
libcollector/linetrace.c: Likewise.
libcollector/mmaptrace.c: Likewise.
libcollector/synctrace.c: Likewise.
libcollector/collector.h: Add CALL_REAL(), NULL_PTR(), and DBG_LT.
Diffstat (limited to 'ld/pe-dll.c')
0 files changed, 0 insertions, 0 deletions