File tree 2 files changed +15
-13
lines changed
2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -425,6 +425,17 @@ warn(const char *fmt, ...)
425
425
va_end (list );
426
426
}
427
427
428
+ void
429
+ err (int eval , const char * fmt , ...)
430
+ {
431
+ va_list list ;
432
+
433
+ va_start (list , fmt );
434
+ vwarn (fmt , list );
435
+ va_end (list );
436
+ exit (eval );
437
+ }
438
+
428
439
void
429
440
vwarnx (const char * fmt , va_list list )
430
441
{
@@ -442,17 +453,6 @@ warnx(const char *fmt, ...)
442
453
va_end (list );
443
454
}
444
455
445
- void
446
- err (int eval , const char * fmt , ...)
447
- {
448
- va_list list ;
449
-
450
- va_start (list , fmt );
451
- vwarn (fmt , list );
452
- va_end (list );
453
- exit (eval );
454
- }
455
-
456
456
void
457
457
errx (int eval , const char * fmt , ...)
458
458
{
Original file line number Diff line number Diff line change @@ -132,10 +132,12 @@ int check_topdomain(char *, char **);
132
132
int inet_aton (const char * cp , struct in_addr * inp );
133
133
#endif
134
134
135
- void err ( int eval , const char * fmt , ... );
135
+ void vwarn ( const char * fmt , va_list list );
136
136
void warn (const char * fmt , ...);
137
- void errx (int eval , const char * fmt , ...);
137
+ void err (int eval , const char * fmt , ...);
138
+ void vwarnx (const char * fmt , va_list list );
138
139
void warnx (const char * fmt , ...);
140
+ void errx (int eval , const char * fmt , ...);
139
141
#endif
140
142
141
143
int recent_seqno (int , int );
You can’t perform that action at this time.
0 commit comments