aboutsummaryrefslogtreecommitdiff
path: root/X11/fonts
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 /X11/fonts
parent1de316b38f589817344e1a342050de4c427501df (diff)
downloadvcxsrv-af858aeb7348909e334cfd0db0070e1661df00fc.tar.gz
vcxsrv-af858aeb7348909e334cfd0db0070e1661df00fc.tar.bz2
vcxsrv-af858aeb7348909e334cfd0db0070e1661df00fc.zip
Solved compiler warnings
Diffstat (limited to 'X11/fonts')
-rw-r--r--X11/fonts/bdfint.h6
-rw-r--r--X11/fonts/fntfil.h2
-rw-r--r--X11/fonts/fontmisc.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/X11/fonts/bdfint.h b/X11/fonts/bdfint.h
index d41c4a556..8ce4a0cb1 100644
--- a/X11/fonts/bdfint.h
+++ b/X11/fonts/bdfint.h
@@ -68,11 +68,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 ( const 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/X11/fonts/fntfil.h b/X11/fonts/fntfil.h
index 074f2d0ea..a5fa720fa 100644
--- a/X11/fonts/fntfil.h
+++ b/X11/fonts/fntfil.h
@@ -141,7 +141,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/X11/fonts/fontmisc.h b/X11/fonts/fontmisc.h
index 92d4966ca..b7c948f8e 100644
--- a/X11/fonts/fontmisc.h
+++ b/X11/fonts/fontmisc.h
@@ -64,7 +64,7 @@ extern int close();
#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);