diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-17 21:26:25 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-17 21:26:25 +0000 |
commit | 3b7012a2de4f5edf61635a18219ac80ba4bd6258 (patch) | |
tree | 845b5bc12aeea7b15d109e95956a5cc132df1709 /gtk/export_object.h | |
parent | 41296be71360f6985cae1114e2f9988a5f6e6e7f (diff) |
This ain't C++; you have to put "void" in as the argument list of
functions that take no arguments, otherwise the function is treated as a
crufty old C function with undeclared arguments.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37211 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/export_object.h')
-rw-r--r-- | gtk/export_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/export_object.h b/gtk/export_object.h index eba4cdd175..7ecdf36b19 100644 --- a/gtk/export_object.h +++ b/gtk/export_object.h @@ -53,7 +53,7 @@ export objects, then it must specifiy a function that cleans up all those data structures. This function is passed to export_object_window and called when tap reset or windows closes occurs. If no function is needed a NULL value should be passed instead */ -typedef void (*eo_protocoldata_reset_cb)(); +typedef void (*eo_protocoldata_reset_cb)(void); void export_object_window(const gchar *tapname, const gchar *name, |