small update to usb2otg code
[AROS.git] / compiler / autoinit / autoinit.h
blob727717b2ae38388343e7b63225d9a9b0bd028d17
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(char *format, const IPTR *, struct ExecBase *sysBase);
23 #define __showerror(f,p) ___showerror(f,p,SysBase)
25 __END_DECLS
27 #endif /* !AUTOINIT_H */