X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=fs.c;h=e39858a0ed9fd3619abc6c8aca8b51721f42f201;hp=6ff0e8161efb6169af24268e347507560fd4bae3;hb=eb2a74f7e7968f99f6a9e01de838a900ebd6efe0;hpb=a25bd052d73f59e1772f1eee2e8b11f1dedbc254 diff --git a/fs.c b/fs.c index 6ff0e81..e39858a 100644 --- a/fs.c +++ b/fs.c @@ -298,7 +298,6 @@ int fs_file_getline(char **lineptr, size_t *n, FILE *stream) { #else # if !defined(__MINGW32__) # include /* mkdir */ -# include /* chdir */ int fs_dir_make(const char *path) { return mkdir(path, 0700); @@ -321,8 +320,4 @@ struct dirent *fs_dir_read(DIR *dir) { return readdir(dir); } -int fs_dir_change(const char *path) { - return chdir(path); -} - #endif /*! defined(_WIN32) && !defined(__MINGW32__) */