diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-04-02 09:41:56 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-04-02 09:41:56 +0000 |
commit | d203637adecc1783ce9705a33e7af6e88778f5e2 (patch) | |
tree | 9c96bb88a380ad0b479cb82608cefacb580902e4 /gtk/follow_dlg.c | |
parent | d2de258acbdd034540ded9edcfbc95a17d42457b (diff) |
Use GLib types rather than "u_int" and "u_char" in "resolv.h"; "u_int"
and "u_char" aren't declared in <sys/types.h> in Win32, you have to
include <winsock.h>, which is a pain.
Throw in some "const"s while we're at it.
svn path=/trunk/; revision=3240
Diffstat (limited to 'gtk/follow_dlg.c')
-rw-r--r-- | gtk/follow_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/follow_dlg.c b/gtk/follow_dlg.c index de55db53f5..eb5c3fd005 100644 --- a/gtk/follow_dlg.c +++ b/gtk/follow_dlg.c @@ -1,6 +1,6 @@ /* follow_dlg.c * - * $Id: follow_dlg.c,v 1.11 2000/11/21 23:54:09 guy Exp $ + * $Id: follow_dlg.c,v 1.12 2001/04/02 09:41:56 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -156,7 +156,7 @@ follow_stream_cb(GtkWidget * w, gpointer data) GtkWidget *stream_om, *stream_menu, *stream_mi; int tmp_fd; gchar *follow_filter; - char *hostname0, *hostname1; + const char *hostname0, *hostname1; char *port0, *port1; char string[128]; follow_tcp_stats_t stats; |