Add som more const qualifiers.

svn path=/trunk/; revision=14795
This commit is contained in:
Anders Broman 2005-06-27 08:13:41 +00:00
parent b913b8f3bf
commit 06067ecc7c
4 changed files with 5 additions and 5 deletions

View File

@ -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);
}

View File

@ -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;

View File

@ -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];

View File

@ -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!
*