Upgraded GRUB2 to 2.00 release.
[AROS.git] / tools / toollib / error.h
blobd851098be8f43f1c71cf1b31f15f3d9f2aa903cf
1 #ifndef TOOLLIB_ERROR_H
2 #define TOOLLIB_ERROR_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #ifndef TOOLLIB_TOOLLIB_H
10 # include <toollib/toollib.h>
11 #endif
13 #ifndef __GNUC__
14 # define __attribute__(x) /* eps */
15 #endif
17 extern void Error PARAMS ((const char * fmt, ...));
18 extern void Warn PARAMS ((const char * fmt, ...));
19 extern void StdError PARAMS ((const char * fmt, ...));
20 extern void StdWarn PARAMS ((const char * fmt, ...));
21 extern void PrintErrorStack PARAMS ((void));
22 extern void ClearErrorStack PARAMS ((void));
23 extern void PushMsg PARAMS ((const char * pre, const char * fmt,
24 va_list args, const char * post));
25 extern void PushError PARAMS ((const char * fmt, ...));
26 extern void PushWarn PARAMS ((const char * fmt, ...));
27 extern void PushStdError PARAMS ((const char * fmt, ...));
28 extern void PushStdWarn PARAMS ((const char * fmt, ...));
29 extern void ErrorExit PARAMS ((int ec)) __attribute__ ((noreturn));
31 #endif /* TOOLLIB_ERROR_H */