Index: trunk/src/error.c =================================================================== --- trunk/src/error.c (revision 1009) +++ trunk/src/error.c (revision 1010) @@ -110,7 +110,7 @@ * print standard 'open error' */ void -OpenErrorMessage (char *Filename) +OpenErrorMessage (const char *Filename) { char *utf8 = NULL; @@ -130,7 +130,7 @@ * print standard 'popen error' */ void -PopenErrorMessage (char *Filename) +PopenErrorMessage (const char *Filename) { char *utf8 = NULL; @@ -150,7 +150,7 @@ * print standard 'opendir' */ void -OpendirErrorMessage (char *DirName) +OpendirErrorMessage (const char *DirName) { char *utf8 = NULL; @@ -170,7 +170,7 @@ * print standard 'chdir error' */ void -ChdirErrorMessage (char *DirName) +ChdirErrorMessage (const char *DirName) { char *utf8 = NULL; @@ -190,7 +190,7 @@ * output of fatal error message */ void -MyFatal (char *Format, ...) +MyFatal (const char *Format, ...) { va_list args; Index: trunk/src/error.h =================================================================== --- trunk/src/error.h (revision 1009) +++ trunk/src/error.h (revision 1010) @@ -37,11 +37,11 @@ #define STATUS_ERROR -1 void Message (const char *Format, ...); -void MyFatal (char *Format, ...); -void OpenErrorMessage (char *); -void PopenErrorMessage (char *); -void OpendirErrorMessage (char *); -void ChdirErrorMessage (char *); +void MyFatal (const char *Format, ...); +void OpenErrorMessage (const char *); +void PopenErrorMessage (const char *); +void OpendirErrorMessage (const char *); +void ChdirErrorMessage (const char *); void CatchSignal (int); #endif