Diff for /libaitcfg/src/aitcfg.c between versions 1.8.4.1 and 1.8.4.2

version 1.8.4.1, 2013/01/17 13:42:10 version 1.8.4.2, 2013/05/26 20:11:53
Line 51  SUCH DAMAGE. Line 51  SUCH DAMAGE.
 int cfg_Errno;  int cfg_Errno;
 char cfg_Error[STRSIZ];  char cfg_Error[STRSIZ];
   
inline intint
 cfg_Write(FILE *f, char *fmt, ...)  cfg_Write(FILE *f, char *fmt, ...)
 {  {
         int ret = 0;          int ret = 0;
Line 64  cfg_Write(FILE *f, char *fmt, ...) Line 64  cfg_Write(FILE *f, char *fmt, ...)
         return ret;          return ret;
 }  }
   
inline intint
 cfg_tree_cmp(struct tagCfg *a, struct tagCfg *b)  cfg_tree_cmp(struct tagCfg *a, struct tagCfg *b)
 {  {
         int ret;          int ret;
Line 88  RB_GENERATE(tagRC, tagCfg, cfg_node, cfg_tree_cmp); Line 88  RB_GENERATE(tagRC, tagCfg, cfg_node, cfg_tree_cmp);
   
   
 // cfg_GetErrno() Get error code of last operation  // cfg_GetErrno() Get error code of last operation
inline intint
 cfg_GetErrno()  cfg_GetErrno()
 {  {
         return cfg_Errno;          return cfg_Errno;
 }  }
   
 // cfg_GetError() Get error text of last operation  // cfg_GetError() Get error text of last operation
inline const char *const char *
 cfg_GetError()  cfg_GetError()
 {  {
         return cfg_Error;          return cfg_Error;
 }  }
   
 // cfg_SetErr() Set error to variables for internal use!!!  // cfg_SetErr() Set error to variables for internal use!!!
inline voidvoid
 cfg_SetErr(int eno, char *estr, ...)  cfg_SetErr(int eno, char *estr, ...)
 {  {
         va_list lst;          va_list lst;

Removed from v.1.8.4.1  
changed lines
  Added in v.1.8.4.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>