From 210f863906c34ad524007abb3b045d4b3cba98b1 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 22 May 2014 10:39:48 +0000 Subject: revert File::Statfs [Feature #9772] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/win32.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include/ruby/win32.h') diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 825b9b1cc8..a6996bc95a 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -262,20 +262,6 @@ struct ifaddrs { #define IFF_POINTOPOINT IFF_POINTTOPOINT #endif -/* for ustatfs() */ -typedef uint32_t fsid_t; -struct statfs { - uint32_t f_type; - uint64_t f_bsize; - uint64_t f_blocks; - uint64_t f_bfree; - int64_t f_bavail; - uint64_t f_files; - uint64_t f_ffree; - fsid_t f_fsid; - char f_fstypename[MAX_PATH]; -}; - extern DWORD rb_w32_osid(void); extern rb_pid_t rb_w32_pipe_exec(const char *, const char *, int, int *, int *); extern int flock(int fd, int oper); @@ -361,7 +347,6 @@ extern int rb_w32_uaccess(const char *, int); extern char rb_w32_fd_is_text(int); extern int rb_w32_fstati64(int, struct stati64 *); extern int rb_w32_dup2(int, int); -extern int ustatfs(const char *, struct statfs *); #ifdef __BORLANDC__ extern off_t _lseeki64(int, off_t, int); -- cgit v1.2.3