diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-11 22:54:21 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-18 22:16:34 -0800 |
commit | 447b3268bfb2d6a92d105ad75c2ac5462f1adecb (patch) | |
tree | a37c1a54a997139761f2448a7a0f25ef2f211834 /include/X11/fonts | |
parent | 5dae1f32a775c3f99f26571f3fab8fb4f0f2874f (diff) |
Mark pattern argument to FSListFonts* as const char *
Needed to fix gcc -Wwrite-strings warnings in clients such as fslsfonts
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include/X11/fonts')
-rw-r--r-- | include/X11/fonts/FSlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/fonts/FSlib.h b/include/X11/fonts/FSlib.h index fbc2dc9..11b3ba6 100644 --- a/include/X11/fonts/FSlib.h +++ b/include/X11/fonts/FSlib.h @@ -258,9 +258,9 @@ extern char ** FSGetCatalogues ( FSServer *svr, int *num ); extern long FSMaxRequestSize ( FSServer *svr ); -extern char ** FSListFonts ( FSServer *svr, char *pattern, int maxNames, +extern char ** FSListFonts ( FSServer *svr, const char *pattern, int maxNames, int *actualCount ); -extern char ** FSListFontsWithXInfo ( FSServer *svr, char *pattern, +extern char ** FSListFontsWithXInfo ( FSServer *svr, const char *pattern, int maxNames, int *count, FSXFontInfoHeader ***info, FSPropInfo ***pprops, |