diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-24 01:32:42 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-24 01:32:42 +0000 |
commit | 14c8918e1dbf61078daaa1e27139aaeadcd447d0 (patch) | |
tree | 20224aded670da90d23f114f2289164b2314c07e /gtk/sip_stat.c | |
parent | a12d13132828f8d92e4ab867ed29db8a10af2613 (diff) |
Constify a bunch of structure members and function arguments, to squelch
compiler warnings.
Clean up indentation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14739 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/sip_stat.c')
-rw-r--r-- | gtk/sip_stat.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/sip_stat.c b/gtk/sip_stat.c index 1e1edffb6c..3f5dbc77d6 100644 --- a/gtk/sip_stat.c +++ b/gtk/sip_stat.c @@ -73,13 +73,13 @@ typedef struct _sip_stats_t { * for example it can be { 3, 404, "Not Found" ,...} * which means we captured 3 reply sip/1.1 404 Not Found */ typedef struct _sip_response_code_t { - guint32 packets; /* 3 */ - guint response_code; /* 404 */ - gchar *name; /* "Not Found" */ - GtkWidget *widget; /* Label where we display it */ - GtkWidget *table; /* Table in which we put it, - e.g. client_error_table */ - sipstat_t *sp; /* Pointer back to main struct */ + guint32 packets; /* 3 */ + guint response_code; /* 404 */ + const gchar *name; /* "Not Found" */ + GtkWidget *widget; /* Label where we display it */ + GtkWidget *table; /* Table in which we put it, + e.g. client_error_table */ + sipstat_t *sp; /* Pointer back to main struct */ } sip_response_code_t; /* Used to keep track of the stats for a specific request string */ |