Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Indent the rest of the code (examples, buildtools, doc...) except for examples/SMPI...
[simgrid.git] / tools / tesh2 / include / xerrno.h
index 843bbe4..19db395 100644 (file)
@@ -3,11 +3,12 @@
 \r
 #include <com.h>\r
 #include <errno.h>\r
-\r
+    \r
 #ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
+extern "C" {
+  \r
+#endif  /* \r */
+  \r
 #define ECMDTIMEDOUT           ((int)102)      /* Command timed out                                                                                                            */\r
 #define ECMDNOTFOUND           ((int)107)      /* the command is not found                                                                                                     */\r
 #define EEXITCODENOTMATCH      ((int)108)      /* the exit codes don't match                                                                                           */\r
@@ -24,21 +25,16 @@ extern "C" {
 #define EINCLUDENOTFOUND       ((int)125)      /* the include file specified by a metacommand is not found                                     */\r
 #define ESUFFIXTOOLONG         ((int)126)      /* the suffix is too long                                                                                                       */\r
 #define EINVCMDLINE                    ((int)139) /* invalid command line                                                                                                              */\r
-\r
+  \r
 #ifndef EALREADY\r
 #define EALREADY                       ((int)131)\r
-#endif\r
-\r
-const char*\r
-error_get_at(int pos, int* code);\r
-\r
-const char*\r
-error_to_string(int errcode, int kind);\r
-\r
+#endif  /* \r */
+  \r const char *\r error_get_at(int pos, int *code);
+  \r\rconst char *\r error_to_string(int errcode, int kind);
+  \r\r
 #ifdef __cplusplus\r
-}\r
-#endif\r
-\r
-\r
-#endif /* !__XERRNO_H */\r
+} \r
+#endif  /* \r */
+\r\r
+#endif  /* !__XERRNO_H */\r
 \r