summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xtransint.h2
-rw-r--r--Xtransutil.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Xtransint.h b/Xtransint.h
index 8cc0b68..0bd4b46 100644
--- a/Xtransint.h
+++ b/Xtransint.h
@@ -352,7 +352,7 @@ static int is_numeric (
#ifdef TRANS_SERVER
static int trans_mkdir (
- char *, /* path */
+ const char *, /* path */
int /* mode */
);
#endif
diff --git a/Xtransutil.c b/Xtransutil.c
index b4e03fe..bd9ff52 100644
--- a/Xtransutil.c
+++ b/Xtransutil.c
@@ -479,7 +479,7 @@ is_numeric (const char *str)
* bit cannot be set and fail.
*/
static int
-trans_mkdir(char *path, int mode)
+trans_mkdir(const char *path, int mode)
{
struct stat buf;