1 diff -crb --new-file a/lib/error.h b/lib/error.h
2 *** a/lib/error.h 1969-12-31 19:00:00.000000000 -0500
3 --- b/lib/error.h 2021-01-21 04:38:25.000000000 -0500
16 + static unsigned int error_message_count = 0;
18 + static inline void error(int status, int errnum, const char* format, ...)
21 + fprintf(stderr, "%s: ", program_invocation_name);
22 + va_start(ap, format);
23 + vfprintf(stderr, format, ap);
26 + fprintf(stderr, ": %s", strerror(errnum));
27 + fprintf(stderr, "\n");
28 + error_message_count++;
33 + #endif /* _ERROR_H_ */
34 diff -crb --new-file a/src/error.h b/src/error.h
35 *** a/src/error.h 1969-12-31 19:00:00.000000000 -0500
36 --- b/src/error.h 2021-01-21 04:38:29.000000000 -0500
49 + static unsigned int error_message_count = 0;
51 + static inline void error(int status, int errnum, const char* format, ...)
54 + fprintf(stderr, "%s: ", program_invocation_name);
55 + va_start(ap, format);
56 + vfprintf(stderr, format, ap);
59 + fprintf(stderr, ": %s", strerror(errnum));
60 + fprintf(stderr, "\n");
61 + error_message_count++;
66 + #endif /* _ERROR_H_ */