diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 22:09:54 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 22:09:54 -0800 |
commit | c4be2fb6c3ae3d6bfa9f767d40578b2680ab58af (patch) | |
tree | 4d2cb6cf79cd531e401d4d3c06ee7a3a2d4157d9 | |
parent | 8bafda7027f51313cfd8e5f4447812064c1686bb (diff) |
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | fslsfonts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fslsfonts.c b/fslsfonts.c index baa0d90..1141cbe 100644 --- a/fslsfonts.c +++ b/fslsfonts.c @@ -80,7 +80,7 @@ static FSServer *svr; static char *program_name; static void usage ( void ); -static void get_list ( char *pattern ); +static void get_list ( const char *pattern ); static int compare ( const void *f1, const void *f2 ); static void show_fonts ( void ); static void print_font_header ( void ); @@ -208,7 +208,7 @@ next: ; } static void -get_list(char *pattern) +get_list(const char *pattern) { int available = nnames + 1, i; @@ -387,7 +387,7 @@ print_font_header(void) static void show_font_header(FontList *list) { - char *string; + const char *string; FSXFontInfoHeader *pfh; pfh = list->info; |