missing abort declaration
This commit is contained in:
parent
2a17a2a9c2
commit
f61fc19692
|
@ -19,6 +19,8 @@ pic_panic(pic_state *pic, const char *msg)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
PIC_ABORT(pic);
|
PIC_ABORT(pic);
|
||||||
|
|
||||||
|
PIC_UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -175,7 +175,7 @@ enum {
|
||||||
PIC_TYPE_CXT = 30,
|
PIC_TYPE_CXT = 30,
|
||||||
PIC_TYPE_CP = 31,
|
PIC_TYPE_CP = 31,
|
||||||
PIC_TYPE_FUNC = 32,
|
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)
|
#define pic_invalid_p(pic,v) (pic_type(pic,v) == PIC_TYPE_INVALID)
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PIC_ABORT
|
#ifndef PIC_ABORT
|
||||||
|
void abort(void);
|
||||||
# define PIC_ABORT(pic) abort()
|
# define PIC_ABORT(pic) abort()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue