diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-12-26 12:24:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-12-26 12:24:55 +0000 |
commit | 6255cc03f0b02fa4bbb944474c9f83196110c9b2 (patch) | |
tree | 32198ea3e2108b1ff736f2e84e1ca4bba3e94c3f | |
parent | ec5a6f8c5e93048f1b8d805d6858b0c8b49a30c8 (diff) |
Fix another discarded qualifier error.
Remove some redundant declarations/definitions from
ui/gtk/capture_dlg.h.
svn path=/trunk/; revision=46780
-rw-r--r-- | ui/gtk/capture_dlg.c | 2 | ||||
-rw-r--r-- | ui/gtk/capture_dlg.h | 17 | ||||
-rw-r--r-- | ui/qt/capture_interface_dialog.cpp | 2 | ||||
-rw-r--r-- | ui/recent_utils.h | 2 |
4 files changed, 3 insertions, 20 deletions
diff --git a/ui/gtk/capture_dlg.c b/ui/gtk/capture_dlg.c index e0b56b9403..e382171232 100644 --- a/ui/gtk/capture_dlg.c +++ b/ui/gtk/capture_dlg.c @@ -1921,7 +1921,7 @@ capture_remote_combo_recent_write_all(FILE *rf) } gboolean -capture_remote_combo_add_recent(gchar *s) +capture_remote_combo_add_recent(const gchar *s) { GList *vals = prefs_get_string_list (s); GList *valp = vals; diff --git a/ui/gtk/capture_dlg.h b/ui/gtk/capture_dlg.h index 00b951134a..b6d7523cc9 100644 --- a/ui/gtk/capture_dlg.h +++ b/ui/gtk/capture_dlg.h @@ -85,23 +85,6 @@ struct remote_host { gchar *auth_username; /**< Remote authentication parameters */ gchar *auth_password; /**< Remote authentication parameters */ }; - -#define RECENT_KEY_REMOTE_HOST "recent.remote_host" - -/** Write all remote hosts to the recent file - * - * @param rf recent file - */ -void -capture_remote_combo_recent_write_all(FILE *rf); - -/** Add a new remote host from the recent file - * - * @param s string with hostname,port,auth_type - * @return TRUE if correctly added - */ -gboolean -capture_remote_combo_add_recent(gchar *s); #endif gboolean diff --git a/ui/qt/capture_interface_dialog.cpp b/ui/qt/capture_interface_dialog.cpp index 320805f731..e72e45d015 100644 --- a/ui/qt/capture_interface_dialog.cpp +++ b/ui/qt/capture_interface_dialog.cpp @@ -49,7 +49,7 @@ capture_remote_combo_recent_write_all(FILE *rf) } gboolean -capture_remote_combo_add_recent(gchar *s) +capture_remote_combo_add_recent(const gchar *s) { GList *vals = prefs_get_string_list (s); GList *valp = vals; diff --git a/ui/recent_utils.h b/ui/recent_utils.h index 298c27da82..c32859da31 100644 --- a/ui/recent_utils.h +++ b/ui/recent_utils.h @@ -79,7 +79,7 @@ capture_remote_combo_recent_write_all(FILE *rf); * @return TRUE if correctly added */ gboolean -capture_remote_combo_add_recent(gchar *s); +capture_remote_combo_add_recent(const gchar *s); #endif /** Read in a single geometry key value pair from the recent file. |