]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/unix/getfsstat/openbsd/openbsd.factor
Fixing assorted compile errors and help lint warnings
[factor.git] / basis / unix / getfsstat / openbsd / openbsd.factor
index 8bf692bd9c3d629a8794ce3ccfa531b934ea87ec..41adfeaacde83e615e13643b5aa0d5c5233c1522 100644 (file)
@@ -1,10 +1,10 @@
 ! Copyright (C) 2008 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.syntax ;
+USING: alien.syntax constants ;
 IN: unix.getfsstat.openbsd
 
-: MNT_WAIT        1       ; ! synchronously wait for I/O to complete
-: MNT_NOWAIT      2       ; ! start all I/O, but do not wait for it
-: MNT_LAZY        3       ; ! push data not written by filesystem syncer
+CONSTANT: MNT_WAIT   1 ! synchronously wait for I/O to complete
+CONSTANT: MNT_NOWAIT 2 ! start all I/O, but do not wait for it
+CONSTANT: MNT_LAZY   3 ! push data not written by filesystem syncer
 
 FUNCTION: int getfsstat ( statfs* buf, int bufsize, int flags ) ;