aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-05-17 21:26:25 +0000
committerGuy Harris <guy@alum.mit.edu>2011-05-17 21:26:25 +0000
commitda1403c6ddce5b67b1e48933fa6e42c731dffb0d (patch)
tree845b5bc12aeea7b15d109e95956a5cc132df1709 /file.h
parentb216f4b2ac3cab4391f620c5cd0f98497b4283cb (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. svn path=/trunk/; revision=37211
Diffstat (limited to 'file.h')
-rw-r--r--file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.h b/file.h
index b4883cd5fd..842e48608a 100644
--- a/file.h
+++ b/file.h
@@ -478,14 +478,14 @@ gboolean cf_find_packet_time_reference(capture_file *cf, search_direction dir);
*
* @return TRUE if the first row exists, FALSE otherwise
*/
-gboolean cf_goto_top_frame();
+gboolean cf_goto_top_frame(void);
/**
* GoTo Packet in last row.
*
* @return TRUE if last row exists, FALSE otherwise
*/
-gboolean cf_goto_bottom_frame();
+gboolean cf_goto_bottom_frame(void);
/**
* GoTo Packet with the given row.