summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fslsfonts.c6
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;