From cf201b03ac3eb83e7ca9d6681033bb185462c68a Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sat, 4 Oct 2014 17:39:12 +0200 Subject: [PATCH] UI (simple_dialog): fix warning: redundant redeclaration of .. [-Wredundant-decls] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit simple_dialog.h:78:13: warning: redundant redeclaration of ‘simple_message_box’ [-Wredundant-decls] simple_dialog.h:85:13: warning: redundant redeclaration of ‘vsimple_error_message_box’ [-Wredundant-decls] simple_dialog.h:90:13: warning: redundant redeclaration of ‘simple_error_message_box’ [-Wredundant-decls] Change-Id: I8f6363fc8ec46ba24895e5236368544f64354e42 Reviewed-on: https://code.wireshark.org/review/4460 Petri-Dish: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- ui/gtk/simple_dialog.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/ui/gtk/simple_dialog.h b/ui/gtk/simple_dialog.h index f805e959fe..e33fdd7e2c 100644 --- a/ui/gtk/simple_dialog.h +++ b/ui/gtk/simple_dialog.h @@ -71,24 +71,6 @@ extern gboolean simple_dialog_check_get(gpointer dialog); */ extern void display_queued_messages(void); -/* - * Alert box, with optional "don't show this message again" variable - * and checkbox, and optional secondary text. - */ -extern void simple_message_box(ESD_TYPE_E type, gboolean *notagain, - const char *secondary_msg, - const char *msg_format, ...) G_GNUC_PRINTF(4, 5); - -/* - * Error alert box, taking a format and a va_list argument. - */ -extern void vsimple_error_message_box(const char *msg_format, va_list ap); - -/* - * Error alert box, taking a format and a list of arguments. - */ -extern void simple_error_message_box(const char *msg_format, ...); - #ifdef __cplusplus } #endif /* __cplusplus */