[MLton-commit] r4316

Matthew Fluet MLton@mlton.org
Sat, 28 Jan 2006 08:59:31 -0800


Avoiding keyword and name clashes
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/gen/basis-ffi.def

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gen/basis-ffi.def
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/gen/basis-ffi.def	2006-01-27 02:03:34 UTC (rev 4315)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gen/basis-ffi.def	2006-01-28 16:59:30 UTC (rev 4316)
@@ -63,6 +63,39 @@
 MLton.Rusage.self_stime_usec = _import : unit -> C.SUSeconds.t
 MLton.Rusage.self_utime_sec = _import : unit -> C.Time.t
 MLton.Rusage.self_utime_usec = _import : unit -> C.SUSeconds.t
+MLton.Syslog.Facility.LOG_AUTH = _const : C.Int.t
+MLton.Syslog.Facility.LOG_CRON = _const : C.Int.t
+MLton.Syslog.Facility.LOG_DAEMON = _const : C.Int.t
+MLton.Syslog.Facility.LOG_KERN = _const : C.Int.t
+MLton.Syslog.Facility.LOG_LOCAL0 = _const : C.Int.t
+MLton.Syslog.Facility.LOG_LOCAL1 = _const : C.Int.t
+MLton.Syslog.Facility.LOG_LOCAL2 = _const : C.Int.t
+MLton.Syslog.Facility.LOG_LOCAL3 = _const : C.Int.t
+MLton.Syslog.Facility.LOG_LOCAL4 = _const : C.Int.t
+MLton.Syslog.Facility.LOG_LOCAL5 = _const : C.Int.t
+MLton.Syslog.Facility.LOG_LOCAL6 = _const : C.Int.t
+MLton.Syslog.Facility.LOG_LOCAL7 = _const : C.Int.t
+MLton.Syslog.Facility.LOG_LPR = _const : C.Int.t
+MLton.Syslog.Facility.LOG_MAIL = _const : C.Int.t
+MLton.Syslog.Facility.LOG_NEWS = _const : C.Int.t
+MLton.Syslog.Facility.LOG_USER = _const : C.Int.t
+MLton.Syslog.Facility.LOG_UUCP = _const : C.Int.t
+MLton.Syslog.Logopt.LOG_CONS = _const : C.Int.t
+MLton.Syslog.Logopt.LOG_NDELAY = _const : C.Int.t
+MLton.Syslog.Logopt.LOG_NOWAIT = _const : C.Int.t
+MLton.Syslog.Logopt.LOG_ODELAY = _const : C.Int.t
+MLton.Syslog.Logopt.LOG_PID = _const : C.Int.t
+MLton.Syslog.Severity.LOG_ALERT = _const : C.Int.t
+MLton.Syslog.Severity.LOG_CRIT = _const : C.Int.t
+MLton.Syslog.Severity.LOG_DEBUG = _const : C.Int.t
+MLton.Syslog.Severity.LOG_EMERG = _const : C.Int.t
+MLton.Syslog.Severity.LOG_ERR = _const : C.Int.t
+MLton.Syslog.Severity.LOG_INFO = _const : C.Int.t
+MLton.Syslog.Severity.LOG_NOTICE = _const : C.Int.t
+MLton.Syslog.Severity.LOG_WARNING = _const : C.Int.t
+MLton.Syslog.closelog = _import : unit -> unit
+MLton.Syslog.openlog = _import : NullString8.t * C.Int.t * C.Int.t -> unit
+MLton.Syslog.syslog = _import : C.Int.t * NullString8.t -> unit
 Net.htonl = _import : Word32.t -> Word32.t
 Net.htons = _import : Word16.t -> Word16.t
 Net.ntohl = _import : Word32.t -> Word32.t
@@ -202,7 +235,7 @@
 Posix.FileSys.O.TEXT = _const : C.Int.t
 Posix.FileSys.O.TRUNC = _const : C.Int.t
 Posix.FileSys.O.WRONLY = _const : C.Int.t
-Posix.FileSys.PC.2_SYMLINKS = _const : C.Int.t
+# Posix.FileSys.PC.2_SYMLINKS = _const : C.Int.t
 Posix.FileSys.PC.ALLOC_SIZE_MIN = _const : C.Int.t
 Posix.FileSys.PC.ASYNC_IO = _const : C.Int.t
 Posix.FileSys.PC.CHOWN_RESTRICTED = _const : C.Int.t
@@ -541,8 +574,8 @@
 Posix.Signal.SIGXCPU = _const : C.Signal.t
 Posix.Signal.SIGXFSZ = _const : C.Signal.t
 Posix.Signal.default = _import : C.Signal.t -> C.Int.t C.Errno.t
-Posix.Signal.handle = _import : C.Signal.t -> C.Int.t C.Errno.t
 Posix.Signal.handleGC = _import : unit -> unit
+Posix.Signal.handlee = _import : C.Signal.t -> C.Int.t C.Errno.t
 Posix.Signal.ignore = _import : C.Signal.t -> C.Int.t C.Errno.t
 Posix.Signal.isDefault = _import : C.Signal.t * Bool.t ref -> C.Int.t C.Errno.t
 Posix.Signal.isIgnore = _import : C.Signal.t * Bool.t ref -> C.Int.t C.Errno.t
@@ -584,66 +617,66 @@
 Posix.TTY.B600 = _const : C.Speed.t
 Posix.TTY.B75 = _const : C.Speed.t
 Posix.TTY.B9600 = _const : C.Speed.t
-Posix.TTY.C.CLOCAL = _const : C.TCFlag.t
-Posix.TTY.C.CREAD = _const : C.TCFlag.t
-Posix.TTY.C.CS5 = _const : C.TCFlag.t
-Posix.TTY.C.CS6 = _const : C.TCFlag.t
-Posix.TTY.C.CS7 = _const : C.TCFlag.t
-Posix.TTY.C.CS8 = _const : C.TCFlag.t
-Posix.TTY.C.CSIZE = _const : C.TCFlag.t
-Posix.TTY.C.CSTOPB = _const : C.TCFlag.t
-Posix.TTY.C.HUPCL = _const : C.TCFlag.t
-Posix.TTY.C.PARENB = _const : C.TCFlag.t
-Posix.TTY.C.PARODD = _const : C.TCFlag.t
-Posix.TTY.I.BRKINT = _const : C.TCFlag.t
-Posix.TTY.I.ICRNL = _const : C.TCFlag.t
-Posix.TTY.I.IGNBRK = _const : C.TCFlag.t
-Posix.TTY.I.IGNCR = _const : C.TCFlag.t
-Posix.TTY.I.IGNPAR = _const : C.TCFlag.t
-Posix.TTY.I.INLCR = _const : C.TCFlag.t
-Posix.TTY.I.INPCK = _const : C.TCFlag.t
-Posix.TTY.I.ISTRIP = _const : C.TCFlag.t
-Posix.TTY.I.IXANY = _const : C.TCFlag.t
-Posix.TTY.I.IXOFF = _const : C.TCFlag.t
-Posix.TTY.I.IXON = _const : C.TCFlag.t
-Posix.TTY.I.PARMRK = _const : C.TCFlag.t
-Posix.TTY.L.ECHO = _const : C.TCFlag.t
-Posix.TTY.L.ECHOE = _const : C.TCFlag.t
-Posix.TTY.L.ECHOK = _const : C.TCFlag.t
-Posix.TTY.L.ECHONL = _const : C.TCFlag.t
-Posix.TTY.L.ICANON = _const : C.TCFlag.t
-Posix.TTY.L.IEXTEN = _const : C.TCFlag.t
-Posix.TTY.L.ISIG = _const : C.TCFlag.t
-Posix.TTY.L.NOFLSH = _const : C.TCFlag.t
-Posix.TTY.L.TOSTOP = _const : C.TCFlag.t
-Posix.TTY.O.BS0 = _const : C.TCFlag.t
-Posix.TTY.O.BS1 = _const : C.TCFlag.t
-Posix.TTY.O.BSDLY = _const : C.TCFlag.t
-Posix.TTY.O.CR0 = _const : C.TCFlag.t
-Posix.TTY.O.CR1 = _const : C.TCFlag.t
-Posix.TTY.O.CR2 = _const : C.TCFlag.t
-Posix.TTY.O.CR3 = _const : C.TCFlag.t
-Posix.TTY.O.CRDLY = _const : C.TCFlag.t
-Posix.TTY.O.FF0 = _const : C.TCFlag.t
-Posix.TTY.O.FF1 = _const : C.TCFlag.t
-Posix.TTY.O.FFDLY = _const : C.TCFlag.t
-Posix.TTY.O.NL0 = _const : C.TCFlag.t
-Posix.TTY.O.NL1 = _const : C.TCFlag.t
-Posix.TTY.O.NLDLY = _const : C.TCFlag.t
-Posix.TTY.O.OCRNL = _const : C.TCFlag.t
-Posix.TTY.O.OFILL = _const : C.TCFlag.t
-Posix.TTY.O.ONLCR = _const : C.TCFlag.t
-Posix.TTY.O.ONLRET = _const : C.TCFlag.t
-Posix.TTY.O.ONOCR = _const : C.TCFlag.t
-Posix.TTY.O.OPOST = _const : C.TCFlag.t
-Posix.TTY.O.TAB0 = _const : C.TCFlag.t
-Posix.TTY.O.TAB1 = _const : C.TCFlag.t
-Posix.TTY.O.TAB2 = _const : C.TCFlag.t
-Posix.TTY.O.TAB3 = _const : C.TCFlag.t
-Posix.TTY.O.TABDLY = _const : C.TCFlag.t
-Posix.TTY.O.VT0 = _const : C.TCFlag.t
-Posix.TTY.O.VT1 = _const : C.TCFlag.t
-Posix.TTY.O.VTDLY = _const : C.TCFlag.t
+Posix.TTY.CFlags.CLOCAL = _const : C.TCFlag.t
+Posix.TTY.CFlags.CREAD = _const : C.TCFlag.t
+Posix.TTY.CFlags.CS5 = _const : C.TCFlag.t
+Posix.TTY.CFlags.CS6 = _const : C.TCFlag.t
+Posix.TTY.CFlags.CS7 = _const : C.TCFlag.t
+Posix.TTY.CFlags.CS8 = _const : C.TCFlag.t
+Posix.TTY.CFlags.CSIZE = _const : C.TCFlag.t
+Posix.TTY.CFlags.CSTOPB = _const : C.TCFlag.t
+Posix.TTY.CFlags.HUPCL = _const : C.TCFlag.t
+Posix.TTY.CFlags.PARENB = _const : C.TCFlag.t
+Posix.TTY.CFlags.PARODD = _const : C.TCFlag.t
+Posix.TTY.IFlags.BRKINT = _const : C.TCFlag.t
+Posix.TTY.IFlags.ICRNL = _const : C.TCFlag.t
+Posix.TTY.IFlags.IGNBRK = _const : C.TCFlag.t
+Posix.TTY.IFlags.IGNCR = _const : C.TCFlag.t
+Posix.TTY.IFlags.IGNPAR = _const : C.TCFlag.t
+Posix.TTY.IFlags.INLCR = _const : C.TCFlag.t
+Posix.TTY.IFlags.INPCK = _const : C.TCFlag.t
+Posix.TTY.IFlags.ISTRIP = _const : C.TCFlag.t
+Posix.TTY.IFlags.IXANY = _const : C.TCFlag.t
+Posix.TTY.IFlags.IXOFF = _const : C.TCFlag.t
+Posix.TTY.IFlags.IXON = _const : C.TCFlag.t
+Posix.TTY.IFlags.PARMRK = _const : C.TCFlag.t
+Posix.TTY.LFlags.ECHO = _const : C.TCFlag.t
+Posix.TTY.LFlags.ECHOE = _const : C.TCFlag.t
+Posix.TTY.LFlags.ECHOK = _const : C.TCFlag.t
+Posix.TTY.LFlags.ECHONL = _const : C.TCFlag.t
+Posix.TTY.LFlags.ICANON = _const : C.TCFlag.t
+Posix.TTY.LFlags.IEXTEN = _const : C.TCFlag.t
+Posix.TTY.LFlags.ISIG = _const : C.TCFlag.t
+Posix.TTY.LFlags.NOFLSH = _const : C.TCFlag.t
+Posix.TTY.LFlags.TOSTOP = _const : C.TCFlag.t
+Posix.TTY.OFlags.BS0 = _const : C.TCFlag.t
+Posix.TTY.OFlags.BS1 = _const : C.TCFlag.t
+Posix.TTY.OFlags.BSDLY = _const : C.TCFlag.t
+Posix.TTY.OFlags.CR0 = _const : C.TCFlag.t
+Posix.TTY.OFlags.CR1 = _const : C.TCFlag.t
+Posix.TTY.OFlags.CR2 = _const : C.TCFlag.t
+Posix.TTY.OFlags.CR3 = _const : C.TCFlag.t
+Posix.TTY.OFlags.CRDLY = _const : C.TCFlag.t
+Posix.TTY.OFlags.FF0 = _const : C.TCFlag.t
+Posix.TTY.OFlags.FF1 = _const : C.TCFlag.t
+Posix.TTY.OFlags.FFDLY = _const : C.TCFlag.t
+Posix.TTY.OFlags.NL0 = _const : C.TCFlag.t
+Posix.TTY.OFlags.NL1 = _const : C.TCFlag.t
+Posix.TTY.OFlags.NLDLY = _const : C.TCFlag.t
+Posix.TTY.OFlags.OCRNL = _const : C.TCFlag.t
+Posix.TTY.OFlags.OFILL = _const : C.TCFlag.t
+Posix.TTY.OFlags.ONLCR = _const : C.TCFlag.t
+Posix.TTY.OFlags.ONLRET = _const : C.TCFlag.t
+Posix.TTY.OFlags.ONOCR = _const : C.TCFlag.t
+Posix.TTY.OFlags.OPOST = _const : C.TCFlag.t
+Posix.TTY.OFlags.TAB0 = _const : C.TCFlag.t
+Posix.TTY.OFlags.TAB1 = _const : C.TCFlag.t
+Posix.TTY.OFlags.TAB2 = _const : C.TCFlag.t
+Posix.TTY.OFlags.TAB3 = _const : C.TCFlag.t
+Posix.TTY.OFlags.TABDLY = _const : C.TCFlag.t
+Posix.TTY.OFlags.VT0 = _const : C.TCFlag.t
+Posix.TTY.OFlags.VT1 = _const : C.TCFlag.t
+Posix.TTY.OFlags.VTDLY = _const : C.TCFlag.t
 Posix.TTY.TC.TCIFLUSH = _const : C.Int.t
 Posix.TTY.TC.TCIOFF = _const : C.Int.t
 Posix.TTY.TC.TCIOFLUSH = _const : C.Int.t
@@ -751,5 +784,5 @@
 Time.getTimeOfDay = _import : unit -> C.Int.t
 Time.sec = _import : unit -> C.Time.t
 Time.usec = _import : unit -> C.SUSeconds.t
-Windows.Process.create = _import : NullString8_t * NullString8_t * NullString8_t * C.Fd.t * C.Fd.t * C.Fd.t -> C.PId.t C.Errno.t
+Windows.Process.create = _import : NullString8.t * NullString8.t * NullString8.t * C.Fd.t * C.Fd.t * C.Fd.t -> C.PId.t C.Errno.t
 Windows.Process.terminate = _import : C.PId.t * C.Signal.t -> C.Int.t C.Errno.t