aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Carpet/CarpetLib/src/cycle.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/Carpet/CarpetLib/src/cycle.h b/Carpet/CarpetLib/src/cycle.h
index 5e0d332e2..d80f2ede8 100644
--- a/Carpet/CarpetLib/src/cycle.h
+++ b/Carpet/CarpetLib/src/cycle.h
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 2003, 2007 Matteo Frigo
- * Copyright (c) 2003, 2007 Massachusetts Institute of Technology
+ * Copyright (c) 2003, 2007-8 Matteo Frigo
+ * Copyright (c) 2003, 2007-8 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
@@ -511,21 +511,3 @@ INLINE_ELAPSED(inline)
#define HAVE_TICK_COUNTER
#endif
#endif /* HAVE_MIPS_ZBUS_TIMER */
-
-/*----------------------------------------------------------------*/
-/* Fallback -- this must be the last entry in this file */
-#if !defined(HAVE_TICK_COUNTER)
-
-typedef double ticks;
-
-static inline ticks getticks(void)
-{
- static ticks counter = 0;
-
- return ++ counter;
-}
-
-INLINE_ELAPSED(inline)
-
-#define HAVE_TICK_COUNTER
-#endif