revert between 56095 -> 55830 in arch
[AROS.git] / compiler / autoinit / autoinit.h
blob774757749b4b3adc2c2c6a54f08572e3a87f6e5f
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: header exporting support functions from libautoinit.a
6 */
8 #ifndef AUTOINIT_H
9 #define AUTOINIT_H
11 #include <aros/system.h>
13 __BEGIN_DECLS
15 /* Shows an error message to the user. Depending on whether the program
16 has been started from CLI or from Workbench(TM) the message will be
17 respectively shown as a message on the cli or as an Intuition requester.
19 To make it always open a requester define a global variable like this:
21 const int __forceerrorrequester = 1; */
22 void ___showerror(struct ExecBase *sysBase, const char *format, ...);
23 #define __showerror(f,...) ___showerror(SysBase,f,__VA_ARGS__)
25 __END_DECLS
27 #endif /* !AUTOINIT_H */