fix stat on openbsd32

Doug Coleman 2008-03-20 15:11:27 -05:00
parent 6d36f738eb
commit e539246131
4 changed files with 7 additions and 7 deletions

View File

@ -12,9 +12,9 @@ C-STRUCT: stat
{ "gid_t" "st_gid" }
{ "dev_t" "st_rdev" }
{ "int32_t" "st_lspare0" }
{ "timespec*" "st_atimespec" }
{ "timespec*" "st_mtimespec" }
{ "timespec*" "st_ctimespec" }
{ "timespec*" "st_atim" }
{ "timespec*" "st_mtim" }
{ "timespec*" "st_ctim" }
{ "off_t" "st_size" }
{ "int64_t" "st_blocks" }
{ "u_int32_t" "st_blksize" }
@ -25,5 +25,5 @@ C-STRUCT: stat
{ "int64_t" "st_qspare1" }
{ "int64_t" "st_qspare2" } ;
! FUNCTION: int stat ( char* pathname, stat* buf ) ;
FUNCTION: int stat ( char* pathname, stat* buf ) ;
FUNCTION: int lstat ( char* pathname, stat* buf ) ;

View File

@ -25,5 +25,5 @@ C-STRUCT: stat
{ "int64_t" "st_qspare1" }
{ "int64_t" "st_qspare2" } ;
! FUNCTION: int stat ( char* pathname, stat* buf ) ;
FUNCTION: int stat ( char* pathname, stat* buf ) ;
FUNCTION: int lstat ( char* pathname, stat* buf ) ;

View File

@ -63,7 +63,8 @@ FUNCTION: int mkdir ( char* path, mode_t mode ) ;
{ "linux" [ "unix.stat.linux" require ] }
{ "macosx" [ "unix.stat.macosx" require ] }
{ "freebsd" [ "unix.stat.freebsd" require ] }
[ drop ]
{ "netbsd" [ "unix.stat.netbsd" require ] }
{ "openbsd" [ "unix.stat.openbsd" require ] }
}
case
>>

View File

@ -12,6 +12,5 @@ os
{ "freebsd" [ "unix.types.freebsd" require ] }
{ "openbsd" [ "unix.types.openbsd" require ] }
{ "netbsd" [ "unix.types.netbsd" require ] }
[ drop ]
}
case