Model file for coverity checks
authorunc0rr
Sat, 15 Nov 2014 13:52:07 +0300
changeset 10498 bcd1d7ad2f3e
parent 10497 c7c50f165946
child 10499 0d8016085108
Model file for coverity checks
misc/coverity_model.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/coverity_model.c	Sat Nov 15 13:52:07 2014 +0300
@@ -0,0 +1,7 @@
+void fpcrtl_halt(int num) {
+    __coverity_panic__();
+}
+
+int fpcrtl_abs(int num) {
+    return num >= 0 ? num : -num;
+}