#include <stdarg.h>
-#include "gras_config.h" /* to get a workgin stdarg.h */
+#include "gras_config.h" /* to get a working stdarg.h */
#include <ctype.h>
+#include <stdio.h> /* snprintf */
#include "xbt_modinter.h"
if (errcode==no_error)
return no_error;
}
- return mismatch_error;
+ return old_mismatch_error;
}
static void _cleanup_double_spaces(char *s) {
_xbt_log_parse_setting(p,set);
errcode = _xbt_log_cat_searchsub(&_XBT_LOGV(root),set->catname,&cat);
- if (errcode == mismatch_error) {
+ if (errcode == old_mismatch_error) {
DEBUG0("Store for further application");
DEBUG1("push %p to the settings",(void*)set);
xbt_dynar_push(xbt_log_settings,&set);