|
Revision 6098, 0.7 KB
(checked in by westram, 3 years ago)
|
- fix warning "format not a string literal and no format arguments"
- GBK_terminate -> GBK_terminate/GBK_terminatef
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * ARB kernel interface. |
|---|
| 3 | * |
|---|
| 4 | * This file is generated by aisc_mkpt. |
|---|
| 5 | * Any changes you make here will be overwritten later! |
|---|
| 6 | * |
|---|
| 7 | */ |
|---|
| 8 | |
|---|
| 9 | #ifndef AD_K_PROT_H |
|---|
| 10 | #define AD_K_PROT_H |
|---|
| 11 | |
|---|
| 12 | #ifndef P_ |
|---|
| 13 | # error P_ is not defined |
|---|
| 14 | #endif |
|---|
| 15 | |
|---|
| 16 | /* define ARB attributes: */ |
|---|
| 17 | #ifndef ATTRIBUTES_H |
|---|
| 18 | # include <attributes.h> |
|---|
| 19 | #endif |
|---|
| 20 | |
|---|
| 21 | #ifdef __cplusplus |
|---|
| 22 | extern "C" { |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | /* adstring.c */ |
|---|
| 27 | void GBK_dump_backtrace P_((FILE *out, GB_ERROR error)); |
|---|
| 28 | void GBK_install_SIGSEGV_handler P_((GB_BOOL install)); |
|---|
| 29 | void GBK_terminate P_((const char *error)); |
|---|
| 30 | void GBK_terminatef P_((const char *templat, ...)) __ATTR__FORMAT(1); |
|---|
| 31 | GB_ERROR GBK_assert_msg P_((const char *assertion, const char *file, int linenr)); |
|---|
| 32 | |
|---|
| 33 | #ifdef __cplusplus |
|---|
| 34 | } |
|---|
| 35 | #endif |
|---|
| 36 | |
|---|
| 37 | #else |
|---|
| 38 | #error ad_k_prot.h included twice |
|---|
| 39 | #endif /* AD_K_PROT_H */ |
|---|