[PATCH:libXfont] Fix functions to match X11/fonts/font.h prototypes.
Thomas Klausner
wiz at NetBSD.org
Tue Apr 15 09:41:35 PDT 2014
Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
src/util/patcache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/patcache.c b/src/util/patcache.c
index 2101015..5efe258 100644
--- a/src/util/patcache.c
+++ b/src/util/patcache.c
@@ -128,7 +128,7 @@ Hash (const char *string, int len)
/* add entry */
void
CacheFontPattern (FontPatternCachePtr cache,
- const char *pattern,
+ char *pattern,
int patlen,
FontPtr pFont)
{
@@ -174,7 +174,7 @@ CacheFontPattern (FontPatternCachePtr cache,
/* find matching entry */
FontPtr
FindCachedFontPattern (FontPatternCachePtr cache,
- const char *pattern,
+ char *pattern,
int patlen)
{
int hash;
--
1.9.0
More information about the xorg-devel
mailing list