aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/filesystem.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-12-12 02:34:47 +0000
committerGuy Harris <guy@alum.mit.edu>2015-12-14 23:52:28 +0000
commitfbf2e3cf8fc07ef9f8b7cc4627fec82885560f98 (patch)
tree1eaf16ee020f4d5cd043497b5784eb4a8a0ab127 /wsutil/filesystem.h
parentd835b271679c5e5eae7146b96ae1a65cbd5c16b4 (diff)
Make init_progfile_dir() take a function pointer [-Wpedantic]
Change-Id: I45f8ea5ee6ccc5a484c60ad6e686aaf30f6b0c98 Reviewed-on: https://code.wireshark.org/review/12557 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/filesystem.h')
-rw-r--r--wsutil/filesystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/filesystem.h b/wsutil/filesystem.h
index 03d2877e65..137f0dae63 100644
--- a/wsutil/filesystem.h
+++ b/wsutil/filesystem.h
@@ -40,7 +40,7 @@ extern "C" {
* and save it for future use. Returns NULL on success, and a
* g_mallocated string containing an error on failure.
*/
-WS_DLL_PUBLIC char *init_progfile_dir(const char *arg0, void *function_addr);
+WS_DLL_PUBLIC char *init_progfile_dir(const char *arg0, int (*function_addr)(int, char **));
/*
* Get the directory in which the program resides.