missing abort declaration

This commit is contained in:
Yuichi Nishiwaki 2016-02-21 21:12:24 +09:00
parent 2a17a2a9c2
commit f61fc19692
3 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,8 @@ pic_panic(pic_state *pic, const char *msg)
#endif
PIC_ABORT(pic);
PIC_UNREACHABLE();
}
void

View File

@ -175,7 +175,7 @@ enum {
PIC_TYPE_CXT = 30,
PIC_TYPE_CP = 31,
PIC_TYPE_FUNC = 32,
PIC_TYPE_IREP = 33,
PIC_TYPE_IREP = 33
};
#define pic_invalid_p(pic,v) (pic_type(pic,v) == PIC_TYPE_INVALID)

View File

@ -40,6 +40,7 @@
#endif
#ifndef PIC_ABORT
void abort(void);
# define PIC_ABORT(pic) abort()
#endif