From: <no...@so...> - 2010-07-21 14:43:12
|
Update of /cvsroot/ijbswa/current In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv26233 Modified Files: errlog.c errlog.h Log Message: Rename jb_err_to_string()'s parameter to jb_error to prevent shadowing issues after the next commit. Index: errlog.c =================================================================== RCS file: /cvsroot/ijbswa/current/errlog.c,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- errlog.c 13 Jun 2010 12:24:49 -0000 1.101 +++ errlog.c 21 Jul 2010 14:43:03 -0000 1.102 @@ -950,14 +950,14 @@ * visible to all files that include errlog.h. * * Parameters : - * 1 : error = a valid jb_err code + * 1 : jb_error = a valid jb_err code * * Returns : A string with the jb_err translation * *********************************************************************/ -const char *jb_err_to_string(int error) +const char *jb_err_to_string(int jb_error) { - switch (error) + switch (jb_error) { case JB_ERR_OK: return "Success, no error"; Index: errlog.h =================================================================== RCS file: /cvsroot/ijbswa/current/errlog.h,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- errlog.h 16 May 2009 13:27:20 -0000 1.23 +++ errlog.h 21 Jul 2010 14:43:03 -0000 1.24 @@ -69,7 +69,7 @@ extern void init_log_module(void); extern void show_version(const char *prog_name); extern void log_error(int loglevel, const char *fmt, ...); -extern const char *jb_err_to_string(int error); +extern const char *jb_err_to_string(int jb_error); /* Revision control strings from this header and associated .c file */ extern const char errlog_rcs[]; |