X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f5e8daaa6e9f74521068aa75837200bcd182ea6..cc01c6a871dbbfd0cc84e26eb9f94aeb539e613e:/tools/tesh2/include/xerrno.h diff --git a/tools/tesh2/include/xerrno.h b/tools/tesh2/include/xerrno.h index 843bbe4115..19db3959c6 100644 --- a/tools/tesh2/include/xerrno.h +++ b/tools/tesh2/include/xerrno.h @@ -3,11 +3,12 @@ #include #include - + #ifdef __cplusplus -extern "C" { -#endif - +extern "C" { + +#endif /* */ + #define ECMDTIMEDOUT ((int)102) /* Command timed out */ #define ECMDNOTFOUND ((int)107) /* the command is not found */ #define EEXITCODENOTMATCH ((int)108) /* the exit codes don't match */ @@ -24,21 +25,16 @@ extern "C" { #define EINCLUDENOTFOUND ((int)125) /* the include file specified by a metacommand is not found */ #define ESUFFIXTOOLONG ((int)126) /* the suffix is too long */ #define EINVCMDLINE ((int)139) /* invalid command line */ - + #ifndef EALREADY #define EALREADY ((int)131) -#endif - -const char* -error_get_at(int pos, int* code); - -const char* -error_to_string(int errcode, int kind); - +#endif /* */ + const char * error_get_at(int pos, int *code); + const char * error_to_string(int errcode, int kind); + #ifdef __cplusplus -} -#endif - - -#endif /* !__XERRNO_H */ +} +#endif /* */ + +#endif /* !__XERRNO_H */