]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - scripts/kconfig/confdata.c
kconfig: sync with Linux 4.1
[karo-tx-uboot.git] / scripts / kconfig / confdata.c
index 2f778df206f5b4e19b959c9044ab78afd5de40a6..9847ae6c894633ca824fdab144ee9d7a4da8d2bb 100644 (file)
 
 #include "lkc.h"
 
+struct conf_printer {
+       void (*print_symbol)(FILE *, struct symbol *, const char *, void *);
+       void (*print_comment)(FILE *, const char *, void *);
+};
+
 static void conf_warning(const char *fmt, ...)
        __attribute__ ((format (printf, 1, 2)));
 
@@ -59,6 +64,7 @@ static void conf_message(const char *fmt, ...)
        va_start(ap, fmt);
        if (conf_message_callback)
                conf_message_callback(fmt, ap);
+       va_end(ap);
 }
 
 const char *conf_get_configname(void)