1 --- lib/error.h.orig	2016-07-13 06:58:54 UTC
2 +++ lib/error.h
3 @@ -0,0 +1,18 @@
4 +#pragma once
5 +
6 +/*
7 + * error, error_at_line, error_message_count, error_one_per_line,
8 + * error_print_progname - glibc error reporting functions
9 + */
10 +
11 +/* void error(int status, int errnum, const char *format, ...); */
12 +#define	error(st, en, ...)	error_at_line(st, en, NULL, 0, __VA_ARGS__)
13 +
14 +void error_at_line(int status, int errnum, const char *filename,
15 +    unsigned int linenum, const char *format, ...);
16 +
17 +extern unsigned int error_message_count;
18 +
19 +extern int error_one_per_line;
20 +
21 +extern void (*error_print_progname) (void);
22