1#ifndef MESSAGES_H_
2#define MESSAGES_H_
3
4#include "as.h"
5#include "expr.h"
6#include "struc-symbol.h"
7
8extern int bad_error;
9extern int arch_multiple;
10
11extern void as_warn(
12    const char *format,
13     ...) __attribute__ ((format (printf, 1, 2)));
14
15extern void as_warn_where(
16    char *file,
17	unsigned int line,
18	const char *format,
19	...) __attribute__ ((format (printf, 3, 4)));
20
21extern void as_warn_where_with_column(
22     char *file,
23	unsigned int line,
24	unsigned int column,
25	const char *format,
26	...)  __attribute__ ((format (printf, 4, 5)));
27
28extern void as_bad(
29    const char *format,
30     ...) __attribute__ ((format (printf, 1, 2)));
31
32extern void as_fatal(
33    const char *format,
34     ...) __attribute__ ((format (printf, 1, 2)));
35
36extern void sprint_value(
37	char *, signed_expr_t);
38
39#endif /* MESSAGES_H_ */
40