]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/unix/statvfs/openbsd/openbsd.factor
Fixing assorted compile errors and help lint warnings
[factor.git] / basis / unix / statvfs / openbsd / openbsd.factor
index 3f9353f92692a8295f6683667a96f81bf38b56ef..76c2af912779b54fb8474a08d45cc548c8c1f5a5 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2008 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.syntax ;
+USING: alien.syntax constants ;
 IN: unix.statvfs.openbsd
 
 C-STRUCT: statvfs
@@ -16,7 +16,7 @@ C-STRUCT: statvfs
     { "ulong" "f_flag" }
     { "ulong" "f_namemax" } ;
 
-: ST_RDONLY       1 ; inline
-: ST_NOSUID       2 ; inline
+CONSTANT: ST_RDONLY       1
+CONSTANT: ST_NOSUID       2
 
 FUNCTION: int statvfs ( char* path, statvfs* buf ) ;