X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=error.h;h=30021d9eb7183cd922ad19a68e2ad148b4c1a485;hp=f0e9ed6e714a174dc9d7e8799f4baf44b4dd11d5;hb=5cd8a4814b805f1ef8ce689423eb5eeba12573c5;hpb=d16b8ea0ee65b2ad901ca6b0624c07e6e4930cc4 diff --git a/error.h b/error.h index f0e9ed6..30021d9 100644 --- a/error.h +++ b/error.h @@ -1,9 +1,9 @@ // // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System // ERROR.H - Error Handling -// Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 -// Source Utilised with the Kind Permission of Landon Dyer +// Source utilised with the kind permission of Landon Dyer // #ifndef __ERROR_H__ @@ -11,21 +11,22 @@ #include "rmac.h" -#define EBUFSIZ 200 // Max size of an error message +#define EBUFSIZ 256 // Max size of an error message -// Globals, externals etc +// Exported variables extern int errcnt; extern char * err_fname; -// Prototypes +// Exported functions int error(const char *); -int errors(char *, char *); -int fatal(char *); -int warn(char *); -int warns(char *, char *); -int warni(char *, unsigned); +int errors(const char *, char *); +int fatal(const char *); +int warn(const char *); +int warns(const char *, char *); +int warni(const char *, unsigned); int interror(int); -void cantcreat(char *); +void cantcreat(const char *); void err_setup(void); +int at_eol(void); #endif // __ERROR_H__