diff --git a/src/win32/anope_windows.h b/src/win32/anope_windows.h index 71e896992..3f8cbf183 100644 --- a/src/win32/anope_windows.h +++ b/src/win32/anope_windows.h @@ -68,7 +68,6 @@ extern CoreExport USHORT WindowsGetLanguage(const Anope::string &lang); extern int setenv(const char *name, const char *value, int overwrite); extern int unsetenv(const char *name); extern int mkstemp(char *input); -extern void getcwd(char *buf, size_t sz); #endif // _WIN32 #endif // WINDOWS_H diff --git a/src/win32/windows.cpp b/src/win32/windows.cpp index 73045f408..3f2f3021e 100644 --- a/src/win32/windows.cpp +++ b/src/win32/windows.cpp @@ -84,9 +84,4 @@ int mkstemp(char *input) return fd; } -void getcwd(char *buf, size_t sz) -{ - GetCurrentDirectory(sz, buf); -} - #endif