X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=error.h;h=693fe51ed94f871143801bafedb5d7c37821641b;hp=2e6728419a9f36b3663bd6604db32452ed372034;hb=60f204cb9e3905100da0d89f14bb40db764acd9e;hpb=d28f432296e812643e236d1bfc9b556a7b11c461;ds=sidebyside diff --git a/error.h b/error.h index 2e67284..693fe51 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__ @@ -15,17 +15,18 @@ // Globals, externals etc extern int errcnt; -extern char *err_fname; +extern char * err_fname; // Prototypes -int error(char *); -int errors(char *, char *); -int fatal(char *); -int warn(char *); -int warns(char *, char *); -int warni(char *, unsigned); +int error(const char *); +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__