aboutsummaryrefslogtreecommitdiff
path: root/libXfont/include
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-09-11 12:40:41 +0200
committermarha <marha@users.sourceforge.net>2013-09-11 12:40:41 +0200
commitaf858aeb7348909e334cfd0db0070e1661df00fc (patch)
tree47a24a5aa9831024fcba9691944159d97eea108b /libXfont/include
parent1de316b38f589817344e1a342050de4c427501df (diff)
downloadvcxsrv-af858aeb7348909e334cfd0db0070e1661df00fc.tar.gz
vcxsrv-af858aeb7348909e334cfd0db0070e1661df00fc.tar.bz2
vcxsrv-af858aeb7348909e334cfd0db0070e1661df00fc.zip
Solved compiler warnings
Diffstat (limited to 'libXfont/include')
-rw-r--r--libXfont/include/X11/fonts/bdfint.h6
-rw-r--r--libXfont/include/X11/fonts/fntfil.h2
-rw-r--r--libXfont/include/X11/fonts/fontmisc.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/libXfont/include/X11/fonts/bdfint.h b/libXfont/include/X11/fonts/bdfint.h
index 913f660df..bd0786cb9 100644
--- a/libXfont/include/X11/fonts/bdfint.h
+++ b/libXfont/include/X11/fonts/bdfint.h
@@ -65,11 +65,11 @@ typedef struct BDFSTAT {
BOOL haveDefaultCh;
} bdfFileState;
-extern void bdfError ( char * message, ... );
-extern void bdfWarning ( char *message, ... );
+extern void bdfError ( const char * message, ... );
+extern void bdfWarning ( cosnt char *message, ... );
extern unsigned char * bdfGetLine ( FontFilePtr file, unsigned char *buf,
int len );
-extern Atom bdfForceMakeAtom ( char *str, int *size );
+extern Atom bdfForceMakeAtom ( const char *str, int *size );
extern Atom bdfGetPropertyValue ( char *s );
extern int bdfIsInteger ( char *str );
extern unsigned char bdfHexByte ( unsigned char *s );
diff --git a/libXfont/include/X11/fonts/fntfil.h b/libXfont/include/X11/fonts/fntfil.h
index 25d1f3054..a66965a08 100644
--- a/libXfont/include/X11/fonts/fntfil.h
+++ b/libXfont/include/X11/fonts/fntfil.h
@@ -138,7 +138,7 @@ extern void FontFileFreeDir ( FontDirectoryPtr dir );
extern void FontFileFreeEntry ( FontEntryPtr entry );
extern void FontFileFreeTable ( FontTablePtr table );
extern Bool FontFileInitTable ( FontTablePtr table, int size );
-extern FontDirectoryPtr FontFileMakeDir ( char *dirName, int size );
+extern FontDirectoryPtr FontFileMakeDir ( const char *dirName, int size );
extern Bool FontFileMatchName ( char *name, int length, FontNamePtr pat );
extern char * FontFileSaveString ( char *s );
extern void FontFileSortDir ( FontDirectoryPtr dir );
diff --git a/libXfont/include/X11/fonts/fontmisc.h b/libXfont/include/X11/fonts/fontmisc.h
index cd9d52a64..a1cce67f2 100644
--- a/libXfont/include/X11/fonts/fontmisc.h
+++ b/libXfont/include/X11/fonts/fontmisc.h
@@ -52,7 +52,7 @@ in this Software without prior written authorization from The Open Group.
#define FALSE 0
#endif
-extern Atom MakeAtom ( char *string, unsigned len, int makeit );
+extern Atom MakeAtom ( const char *string, unsigned len, int makeit );
extern int ValidAtom ( Atom atom );
extern char *NameForAtom (Atom atom);