Fix missing prototype warnings.

This commit is contained in:
Peter Bright authored and Ryan Dahl committed 2011-08-07 14:22:34 -07:00
1 parent 79d9f62946
commit bcff53dfb5
1 file changed
+5
+5
View File
@@ -110,6 +110,8 @@ static void eio_destroy (eio_req *req);
#ifdef _WIN32
#include <direct.h>
#undef PAGESIZE
#define PAGESIZE 4096 /* GetSystemInfo? */
@@ -140,6 +142,9 @@ static void eio_destroy (eio_req *req);
#define statvfs(path,buf) EIO_ENOSYS ()
#define fstatvfs(fd,buf) EIO_ENOSYS ()
#define getcwd(buf,s) _getcwd(buf, s)
#define rmdir(path) _rmdir(path)
/* rename() uses MoveFile, which fails to overwrite */
#define rename(old,neu) eio__rename (old, neu)