URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9423a13b2db427d15f6b3d11b73624fffc02608f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
9423a13 by Guy Harris (guy@xxxxxxxxxxxx):
Just have init_progfile_dir() take a void pointer.
dladdr() takes a void * as a code pointer; have init_progfile_dir() do
so, and do the casting in the calls. We don't care about the signature
of the function whose address we're passing, we just want to pass a
pointer to *something* in the main program.
Change-Id: I9372620a97b0eb53c2bb3c0c41a238b4408f3709
Reviewed-on: https://code.wireshark.org/review/7270
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from ec6ec49 Qt: Fix automatic update status in welcome screen.
adds 9423a13 Just have init_progfile_dir() take a void pointer.
Summary of changes:
capinfos.c | 2 +-
captype.c | 2 +-
dftest.c | 2 +-
echld/dispatcher.c | 2 +-
editcap.c | 2 +-
rawshark.c | 2 +-
tfshark.c | 2 +-
tshark.c | 2 +-
ui/gtk/main.c | 2 +-
wireshark-qt.cpp | 2 +-
wsutil/filesystem.c | 6 +++---
wsutil/filesystem.h | 3 +--
12 files changed, 14 insertions(+), 15 deletions(-)