[MLton-commit] r5813

Matthew Fluet fluet at mlton.org
Thu Aug 2 12:42:18 PDT 2007


id_t never used; removes an unnecessary dependency
----------------------------------------------------------------------

U   mlton/trunk/basis-library/config/c/sys-types.sml
U   mlton/trunk/runtime/gen/gen-types.c
U   mlton/trunk/runtime/platform/mingw.h

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

Modified: mlton/trunk/basis-library/config/c/sys-types.sml
===================================================================
--- mlton/trunk/basis-library/config/c/sys-types.sml	2007-08-02 19:41:38 UTC (rev 5812)
+++ mlton/trunk/basis-library/config/c/sys-types.sml	2007-08-02 19:42:17 UTC (rev 5813)
@@ -39,7 +39,6 @@
                     end = C_Clock
 structure C_Dev : C_SYSTYPE = C_Dev
 structure C_GId : C_SYSTYPE = C_GId
-structure C_Id : C_SYSTYPE = C_Id
 structure C_INo : C_SYSTYPE = C_INo
 structure C_Mode : C_FLAGTYPE = C_Mode
 structure C_NLink : sig

Modified: mlton/trunk/runtime/gen/gen-types.c
===================================================================
--- mlton/trunk/runtime/gen/gen-types.c	2007-08-02 19:41:38 UTC (rev 5812)
+++ mlton/trunk/runtime/gen/gen-types.c	2007-08-02 19:42:17 UTC (rev 5813)
@@ -396,7 +396,7 @@
   chksystype(clock_t, "Clock");
   chksystype(dev_t, "Dev");
   chksystype(gid_t, "GId");
-  chksystype(id_t, "Id");
+  // chksystype(id_t, "Id");
   chksystype(ino_t, "INo");
   chksystype(mode_t, "Mode");
   chksystype(nlink_t, "NLink");

Modified: mlton/trunk/runtime/platform/mingw.h
===================================================================
--- mlton/trunk/runtime/platform/mingw.h	2007-08-02 19:41:38 UTC (rev 5812)
+++ mlton/trunk/runtime/platform/mingw.h	2007-08-02 19:42:17 UTC (rev 5813)
@@ -46,7 +46,6 @@
 typedef short nlink_t; // type of st_nlink in sys/stat.h
 
 // bullshit typedefs:
-typedef int id_t; // waitid() doesn't exist on windows
 typedef unsigned int nfds_t; // we have a fake poll() with this many fds
 
 int getpagesize (void);




More information about the MLton-commit mailing list