summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/syscalls.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-11-11 00:51:12 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-11-11 00:53:21 +0100
commit5be338836d26d62a78b9668b6c7ab08cc1cb98b2 (patch)
tree1252f6b543a1b4b87bde73acaaa9c94123aeb270 /crawl-ref/source/syscalls.cc
parent39aa805b401e889169479cb51daff13921e4534a (diff)
downloadcrawl-ref-5be338836d26d62a78b9668b6c7ab08cc1cb98b2.tar.gz
crawl-ref-5be338836d26d62a78b9668b6c7ab08cc1cb98b2.zip
Make a bunch of functions static, delete some unused junk.
Diffstat (limited to 'crawl-ref/source/syscalls.cc')
-rw-r--r--crawl-ref/source/syscalls.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/crawl-ref/source/syscalls.cc b/crawl-ref/source/syscalls.cc
index 2e0ed31c71..55743323bc 100644
--- a/crawl-ref/source/syscalls.cc
+++ b/crawl-ref/source/syscalls.cc
@@ -301,15 +301,6 @@ int unlink_u(const char *pathname)
#endif
}
-int chmod_u(const char *path, mode_t mode)
-{
-#ifdef TARGET_OS_WINDOWS
- return _wchmod(OUTW(path), mode);
-#else
- return chmod(OUTS(path), mode);
-#endif
-}
-
FILE *fopen_u(const char *path, const char *mode)
{
#ifdef TARGET_OS_WINDOWS