#endif
#include <assert.h>
+#include "error.h"
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "alloc.h"
#include "command.h"
-#include "error.h"
#include "getline.h"
#include "main.h"
#include "output.h"
{0, NULL, N_("installation error")}, /* IE */
{2, NULL, N_("installation error")}, /* IS */
- {2, NULL, N_("error")}, /* DE */
- {2, NULL, N_("warning")}, /* DW */
+ {2, &err_error_count, N_("error")}, /* DE */
+ {2, &err_warning_count, N_("warning")}, /* DW */
- {0, NULL, N_("error")}, /* ME */
- {0, NULL, N_("warning")}, /* MW */
+ {0, &err_error_count, N_("error")}, /* ME */
+ {0, &err_warning_count, N_("warning")}, /* MW */
{0, NULL, N_("note")}, /* MM */
};