aboutsummaryrefslogtreecommitdiff
path: root/libXmu/src/RdBitF.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXmu/src/RdBitF.c')
-rw-r--r--libXmu/src/RdBitF.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libXmu/src/RdBitF.c b/libXmu/src/RdBitF.c
index 9402159b3..ece6d53ce 100644
--- a/libXmu/src/RdBitF.c
+++ b/libXmu/src/RdBitF.c
@@ -269,7 +269,7 @@ XmuReadBitmapData(FILE *fstream, unsigned int *width, unsigned int *height,
#if defined(WIN32)
static int
-access_file(char *path, char *pathbuf, int len_pathbuf, char **pathret)
+access_file(_Xconst char *path, char *pathbuf, int len_pathbuf, char **pathret)
{
if (access (path, F_OK) == 0) {
if (strlen (path) < len_pathbuf)
@@ -285,7 +285,7 @@ access_file(char *path, char *pathbuf, int len_pathbuf, char **pathret)
}
static int
-AccessFile(char *path, char *pathbuf, int len_pathbuf, char **pathret)
+AccessFile(_Xconst char *path, char *pathbuf, int len_pathbuf, char **pathret)
{
#ifndef MAX_PATH
#define MAX_PATH 512
@@ -359,10 +359,10 @@ AccessFile(char *path, char *pathbuf, int len_pathbuf, char **pathret)
}
FILE *
-fopen_file(char *path, char *mode)
+fopen_file(_Xconst char *path, char *mode)
{
char buf[MAX_PATH];
- char* bufp;
+ char* bufp=buf;
void* ret = NULL;
UINT olderror = SetErrorMode (SEM_FAILCRITICALERRORS);