diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-04-30 17:23:33 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-04-30 17:23:33 +0000 |
commit | 2777289f85f886aca83e404b2bc84e0e449e170a (patch) | |
tree | 9f4ebe0ff5de08e373a4324d15aa573c379cb1bd | |
parent | a416a4b6f573497c891c23b044777f0b95cb5873 (diff) |
removed various gcc warnings
svn path=/trunk/; revision=14246
-rw-r--r-- | capture.c | 4 | ||||
-rw-r--r-- | gtk/main.c | 2 | ||||
-rw-r--r-- | gtk/proto_draw.c | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -28,6 +28,10 @@ #ifdef HAVE_LIBPCAP +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + #include <stdlib.h> #include <string.h> #include <ctype.h> diff --git a/gtk/main.c b/gtk/main.c index 8c144d6607..59daacbe23 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1402,7 +1402,7 @@ main_cf_cb_live_capture_fixed_started(capture_options *capture_opts) } static void -main_cf_cb_live_capture_fixed_finished(capture_file *cf) +main_cf_cb_live_capture_fixed_finished(capture_file *cf _U_) { /* Pop the "<live capture in progress>" message off the status bar. */ statusbar_pop_file_msg(); diff --git a/gtk/proto_draw.c b/gtk/proto_draw.c index d4514dd0c4..82b9f824e5 100644 --- a/gtk/proto_draw.c +++ b/gtk/proto_draw.c @@ -1644,7 +1644,7 @@ void tree_cell_renderer(GtkTreeViewColumn *tree_column _U_, #if GTK_MAJOR_VERSION >= 2 static int -tree_view_key_pressed_cb(GtkCTree *ctree, GdkEventKey *event, gpointer user_data _U_) +tree_view_key_pressed_cb(GtkCTree *ctree _U_, GdkEventKey *event, gpointer user_data _U_) { GtkTreeSelection* selection; GtkTreeIter iter; |