misc/coverity_model.c
author sheepluva
Sat, 29 Nov 2014 05:24:47 +0100
changeset 10566 cc90ea6448c7
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
map halt(t) to exit(t) rather than assert(0). all test cases except gravity pass with pas2c now

void fpcrtl_halt(int num) {
    __coverity_panic__();
}

int fpcrtl_abs(int num) {
    return num >= 0 ? num : -num;
}