Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] fix on compilation without tracing
[simgrid.git] / tools / tesh2 / include / timer.h
index 1b37c9d..65489c0 100644 (file)
  *             This file contains all the declarations of the functions related with\r
  *             the tesh timer type.\r
  *\r
- */\r
\r
+ */  \r
+    \r
 #ifndef __TIMER_H\r
 #define __TIMER_H\r
-\r
+    \r
 #include <com.h>\r
-\r
+    \r
 #ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-\r
+extern "C" {
+  \r
+#endif  /* \r */
+  \r \r
 /*! \brief timer_new - create a new timer.\r
  *\r
  * \param command      The command to keep a wath.\r
@@ -35,10 +35,9 @@ extern "C" {
  *                                     [EINVAL] if the parameter is invalid.\r
  *                                     [ENOMEM] if the system has not enough space to allocate\r
  *                                              the timer.\r
- */\r
-ttimer_t\r
-timer_new(command_t command);\r
-\r
+ */ \r
+  ttimer_t \r timer_new(command_t command);
+  \r \r
 /*! \brief timer_free - destroy a timer object.\r
  *\r
  * \param ptr          A pointer to the timer object to destroy.\r
@@ -51,19 +50,13 @@ timer_new(command_t command);
  *                                     [EINVAL] if the timer object pointed to by the parameter ptr is invalid.\r
  *                                     \r
  *                                     \r
- */\r
-int\r
-timer_free(ttimer_t* ptr);\r
-\r
-void\r
-timer_time(ttimer_t timer);\r
-\r
-void\r
-timer_wait(ttimer_t timer);\r
-\r
+ */ \r
+  int \r timer_free(ttimer_t * ptr);
+  \r \r void \r timer_time(ttimer_t timer);
+  \r \r void \r timer_wait(ttimer_t timer);
+  \r \r
 #ifdef __cplusplus\r
-}\r
-#endif\r
-\r
-\r
-#endif /* !__TIMER_H */\r
+} \r
+#endif  /* \r */
+\r \r
+#endif  /* !__TIMER_H */\r