[MLton-commit] r4453

Matthew Fluet MLton@mlton.org
Thu, 4 May 2006 12:59:37 -0700


C_USeconds is unused, and not present on Linux 2.4
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/basis-library.refactor/config/c/amd64-linux/c-types.sml
U   mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c

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

Modified: mlton/branches/on-20050822-x86_64-branch/basis-library.refactor/config/c/amd64-linux/c-types.sml
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/basis-library.refactor/config/c/amd64-linux/c-types.sml	2006-05-04 19:39:16 UTC (rev 4452)
+++ mlton/branches/on-20050822-x86_64-branch/basis-library.refactor/config/c/amd64-linux/c-types.sml	2006-05-04 19:59:36 UTC (rev 4453)
@@ -112,8 +112,6 @@
 functor C_Time_ChooseIntN (A: CHOOSE_INTN_ARG) = ChooseIntN_Int32 (A)
 structure C_UId = struct open Word32 type t = word end
 functor C_UId_ChooseWordN (A: CHOOSE_WORDN_ARG) = ChooseWordN_Word32 (A)
-structure C_USeconds = struct open Word32 type t = word end
-functor C_USeconds_ChooseWordN (A: CHOOSE_WORDN_ARG) = ChooseWordN_Word32 (A)
 
 (* from <sys/socket.h> *)
 structure C_Socklen = struct open Word32 type t = word end

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c	2006-05-04 19:39:16 UTC (rev 4452)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c	2006-05-04 19:59:36 UTC (rev 4453)
@@ -372,7 +372,7 @@
   chksystype(suseconds_t, "SUSeconds");
   chksystype(time_t, "Time");
   chksystype(uid_t, "UId");
-  chksystype(useconds_t, "USeconds");
+  // chksystype(useconds_t, "USeconds");
 
   writeNewline (cTypesHFd);writeNewline (cTypesSMLFd);
   writeStringWithNewline (cTypesHFd, "/* from <sys/socket.h> */");