Just have init_progfile_dir() take a void pointer.
authorGuy Harris <guy@alum.mit.edu>
Fri, 20 Feb 2015 00:23:39 +0000 (16:23 -0800)
committerGuy Harris <guy@alum.mit.edu>
Fri, 20 Feb 2015 00:24:08 +0000 (00:24 +0000)
commit9423a13b2db427d15f6b3d11b73624fffc02608f
treea241140b23d189d8cb5466b72522dd6432a4ba96
parentec6ec4994152f7d06d09544d61900f3ce1d55ced
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@alum.mit.edu>
12 files changed:
capinfos.c
captype.c
dftest.c
echld/dispatcher.c
editcap.c
rawshark.c
tfshark.c
tshark.c
ui/gtk/main.c
wireshark-qt.cpp
wsutil/filesystem.c
wsutil/filesystem.h