--- libaitcfg/src/aitcfg.c 2013/01/17 13:42:10 1.8.4.1 +++ libaitcfg/src/aitcfg.c 2013/05/26 20:11:53 1.8.4.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcfg.c,v 1.8.4.1 2013/01/17 13:42:10 misho Exp $ +* $Id: aitcfg.c,v 1.8.4.2 2013/05/26 20:11:53 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -51,7 +51,7 @@ SUCH DAMAGE. int cfg_Errno; char cfg_Error[STRSIZ]; -inline int +int cfg_Write(FILE *f, char *fmt, ...) { int ret = 0; @@ -64,7 +64,7 @@ cfg_Write(FILE *f, char *fmt, ...) return ret; } -inline int +int cfg_tree_cmp(struct tagCfg *a, struct tagCfg *b) { int ret; @@ -88,21 +88,21 @@ RB_GENERATE(tagRC, tagCfg, cfg_node, cfg_tree_cmp); // cfg_GetErrno() Get error code of last operation -inline int +int cfg_GetErrno() { return cfg_Errno; } // cfg_GetError() Get error text of last operation -inline const char * +const char * cfg_GetError() { return cfg_Error; } // cfg_SetErr() Set error to variables for internal use!!! -inline void +void cfg_SetErr(int eno, char *estr, ...) { va_list lst;