[MLton-commit] r5512

Matthew Fluet fluet at mlton.org
Wed Apr 11 13:43:12 PDT 2007


Regularize handling of gc/*.h file
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/gc/rusage.h

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

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gc/rusage.h
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/gc/rusage.h	2007-04-11 20:40:59 UTC (rev 5511)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gc/rusage.h	2007-04-11 20:43:11 UTC (rev 5512)
@@ -6,6 +6,8 @@
  * See the file MLton-LICENSE for details.
  */
 
+#if (defined (MLTON_GC_INTERNAL_FUNCS))
+
 static inline void rusageZero (struct rusage *ru);
 static inline void rusagePlusMax (struct rusage *ru1,
                                   struct rusage *ru2,
@@ -17,3 +19,5 @@
 static inline uintmax_t getCurrentTime (void);
 static inline void startTiming (struct rusage *ru_start);
 static uintmax_t stopTiming (struct rusage *ru_start, struct rusage *ru_gc);
+
+#endif /* (defined (MLTON_GC_INTERNAL_FUNCS)) */




More information about the MLton-commit mailing list