Add som more const qualifiers.
svn path=/trunk/; revision=14795
This commit is contained in:
parent
b913b8f3bf
commit
06067ecc7c
|
@ -329,7 +329,7 @@ static const value_string win32_802_11_channel_vals[] = {
|
|||
|
||||
|
||||
static void
|
||||
add_row_to_table(GtkWidget *list, guint *row, gchar *title, gchar *value, gboolean sensitive)
|
||||
add_row_to_table(GtkWidget *list, guint *row, gchar *title, const gchar *value, gboolean sensitive)
|
||||
{
|
||||
GtkWidget *label;
|
||||
gchar *indent;
|
||||
|
@ -362,7 +362,7 @@ add_string_to_table_sensitive(GtkWidget *list, guint *row, gchar *title, gchar *
|
|||
|
||||
|
||||
static void
|
||||
add_string_to_table(GtkWidget *list, guint *row, gchar *title, gchar *value)
|
||||
add_string_to_table(GtkWidget *list, guint *row, gchar *title, const gchar *value)
|
||||
{
|
||||
add_row_to_table(list, row, title, value, TRUE);
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ typedef struct _gtk_table {
|
|||
}gtk_table;
|
||||
|
||||
void
|
||||
add_table_entry(gtk_table *tab, char *str, int x, int y)
|
||||
add_table_entry(gtk_table *tab, const char *str, int x, int y)
|
||||
{
|
||||
GtkWidget *tmp;
|
||||
|
||||
|
|
|
@ -427,7 +427,7 @@ init_srt_table(srt_stat_table *rst, int num_procs, GtkWidget *vbox, const char *
|
|||
}
|
||||
|
||||
void
|
||||
init_srt_table_row(srt_stat_table *rst, int index, char *procedure)
|
||||
init_srt_table_row(srt_stat_table *rst, int index, const char *procedure)
|
||||
{
|
||||
char str[10];
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ void init_srt_table(srt_stat_table *rst, int num_procs, GtkWidget *vbox,
|
|||
* @param index number of procedure
|
||||
* @param procedure the procedures name
|
||||
*/
|
||||
void init_srt_table_row(srt_stat_table *rst, int index, char *procedure);
|
||||
void init_srt_table_row(srt_stat_table *rst, int index, const char *procedure);
|
||||
|
||||
/** Add srt response to table row data. This will not draw the data!
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue