summaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-15 21:47:31 +0900
committerKeith Packard <keithp@keithp.com>2014-01-29 15:15:11 -0800
commit8ba53a78bfc443a4ee8228b9c47f7e94118d7153 (patch)
tree758a3ec886378632292af70795f71f936065c5fa /font.h
parent7f951a3b8ad71211e34a52878a030d5df823c49e (diff)
Allow paths and patterns to be const
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'font.h')
-rw-r--r--font.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/font.h b/font.h
index b71046b..a834655 100644
--- a/font.h
+++ b/font.h
@@ -140,7 +140,7 @@ extern void EmptyFontPatternCache (
extern void CacheFontPattern (
FontPatternCachePtr /* cache */,
- char * /* pattern */,
+ const char * /* pattern */,
int /* patlen */,
FontPtr /* pFont */
);
@@ -150,7 +150,7 @@ extern FontResolutionPtr GetClientResolutions(
extern FontPtr FindCachedFontPattern (
FontPatternCachePtr /* cache */,
- char * /* pattern */,
+ const char * /* pattern */,
int /* patlen */
);