From: sangorrin Date: Tue, 13 Jan 2009 17:06:19 +0000 (+0000) Subject: cosmetics X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/frsh-include.git/commitdiff_plain/3722de58a925231160ad8194691e11c517ebe3e8?ds=sidebyside cosmetics git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@1467 35b4ef3e-fd22-0410-ab77-dab3279adceb --- diff --git a/frsh_error.h b/frsh_error.h index 54a779a..a25ca8e 100644 --- a/frsh_error.h +++ b/frsh_error.h @@ -61,7 +61,7 @@ // **//// /**///** ////////** /**//////** // ** /** //** /** /** /** // ** /** //** ******** /** /** -// // // // //////// // // +// // // // //////// // // // // FRSH(FRescor ScHeduler), pronounced "fresh" //============================================== @@ -130,13 +130,9 @@ #define ERROR(nn,ss) do {if(nn>FRSH_ERR_BASE_VALUE) my_frsh_strerror(nn, ss); else perror(ss); exit (nn);} while (0) - - - int frsh_strerror (int error, char *message, size_t size); void my_frsh_strerror(int error, char *sss); - /** * This str_helper is needed to ensure argument expansion, * see http://www.iar.com/p180591/p180591_eng.php @@ -162,7 +158,7 @@ void my_frsh_strerror(int error, char *sss); } else { \ perror(error_string); \ } \ -} while(0) +} while(0) @@ -208,7 +204,7 @@ void my_frsh_strerror(int error, char *sss); * terror (int) needs to be visible in the point of call. * * @param funccall Code to execute that should return 0 in a non error - * case. + * case. **/ #define PRW(funccall) do { \ if ( (terror = funccall ) != 0) \ @@ -229,7 +225,7 @@ void my_frsh_strerror(int error, char *sss); * terror (int) needs to be visible in the point of call. * * @param funccall Code to execute that should return 0 in a non error - * case. + * case. **/ #define PXW(funccall) do { \ if ( (terror = funccall ) != 0) \