wcc: delete unused warning counters and ww err twin

This commit is contained in:
2026-08-09 04:19:22 +09:00
parent 2a03cfbfa4
commit c9425a3b46
5 changed files with 4 additions and 64 deletions

View File

@@ -58,13 +58,10 @@ struct Pos {
};
extern Pos noPos;
extern int nerrors;
extern int nwarnings;
extern FILE *errout;
void fatal(const char*, ...) __attribute__((noreturn, format(printf, 1, 2)));
void errorf(Pos, const char*, ...) __attribute__((format(printf, 2, 3)));
void warnf(Pos, const char*, ...) __attribute__((format(printf, 2, 3)));
#define nelem(a) ((sizeof(a) / sizeof((a)[0])))