diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-10-25 10:57:33 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-10-25 10:58:09 +0100 |
| commit | 9e6e3fca54a3f9ee52d976e6dc021425c96d2515 (patch) | |
| tree | 6a9ef1a406a98489a587eb09d903c00031d431b2 | |
| parent | 39c3bdd36248298c86989691f7a74dad7d3a1ace (diff) | |
| download | vis-9e6e3fca54a3f9ee52d976e6dc021425c96d2515.tar.gz vis-9e6e3fca54a3f9ee52d976e6dc021425c96d2515.tar.xz | |
test/core: add labs(3) implementation for TIS analyzer
While the ACSL specification for the function prototype is present,
the actual implementation is missing. Not sure why?
| -rw-r--r-- | core/tap.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -45,6 +45,11 @@ time_t time(time_t *p) return value; } +long labs(long v) +{ + return v > 0 ? v : -v; +} + #else #include <ccan/tap/tap.h> #define TIS_INTERPRETER 0 |
