mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: xtrans: fix trans_mkdir() prototype
Functions used acrossed various .c files cannot be static. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user