| 112 | static char const illoptstring[] = "unknown option -- %s"; |
| 113 | |
| 114 | static void _vwarnx(char const* fmt, va_list ap) |
| 115 | { |
| 116 | (void) fprintf(stderr, "%s: ", __progname); |
| 117 | if (fmt != NULL) |
| 118 | (void) vfprintf(stderr, fmt, ap); |
| 119 | (void) fprintf(stderr, "\n"); |
| 120 | } |
| 121 | |
| 122 | static void warnx(char const* fmt, ...) |
| 123 | { |