]> Shamusworld >> Repos - rmac/blob - error.h
Fix for bug #170 - ELF output module exports global,defined symbols as undefined
[rmac] / error.h
1 //
2 // RMAC - Reboot's Macro Assembler for all Atari computers
3 // ERROR.H - Error Handling
4 // Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends
5 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
6 // Source utilised with the kind permission of Landon Dyer
7 //
8
9 #ifndef __ERROR_H__
10 #define __ERROR_H__
11
12 #include "rmac.h"
13
14 #define EBUFSIZ     256         // Max size of an error message
15
16 // Exported variables
17 extern int errcnt;
18 extern char * err_fname;
19
20 // Exported functions
21 int error(const char *, ...);
22 int warn(const char *, ...);
23 int fatal(const char *);
24 int interror(int);
25 void CantCreateFile(const char *);
26 void err_setup(void);
27 int ErrorIfNotAtEOL(void);
28
29 #endif // __ERROR_H__
30