diff --git a/os/Xtransint.h b/os/Xtransint.h index 16778b2e4..d89063e7f 100644 --- a/os/Xtransint.h +++ b/os/Xtransint.h @@ -297,10 +297,7 @@ static int _XSERVTransWriteV( #endif /* WIN32 */ -static int trans_mkdir ( - const char *, /* path */ - int /* mode */ -); +int trans_mkdir (const char *path, int mode); #ifdef __clang__ #pragma clang diagnostic pop diff --git a/os/Xtransutil.c b/os/Xtransutil.c index 8d7849f60..aa58e5031 100644 --- a/os/Xtransutil.c +++ b/os/Xtransutil.c @@ -250,8 +250,7 @@ int _XSERVTransWSAStartup (void) * it's not save if the directory has non-root ownership or the sticky * bit cannot be set and fail. */ -static int -trans_mkdir(const char *path, int mode) +int trans_mkdir(const char *path, int mode) { struct stat buf;