X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=error.h;h=f62a17db1946539ef01b58e8153665efce09bed4;hp=0e90b25dc2f81d7af11a300a4a89530d76366293;hb=4205233c8397c581b4d27ab36ab81ec896ef3dd0;hpb=03dd34951a331e0b8971195ccef1600fffaea2e6 diff --git a/error.h b/error.h index 0e90b25..f62a17d 100644 --- a/error.h +++ b/error.h @@ -1,7 +1,7 @@ // // RMAC - Reboot's Macro Assembler for all Atari computers // ERROR.H - Error Handling -// Copyright (C) 199x Landon Dyer, 2011-2017 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // @@ -18,16 +18,13 @@ extern int errcnt; extern char * err_fname; // Exported functions -int error(const char *); -int errors(const char *, char *); +int error(const char *, ...); +int warn(const char *, ...); int fatal(const char *); -int warn(const char *); -int warns(const char *, char *); -int warni(const char *, unsigned); int interror(int); -void cantcreat(const char *); +void CantCreateFile(const char *); void err_setup(void); -int at_eol(void); +int ErrorIfNotAtEOL(void); #endif // __ERROR_H__