test, bench, precompute_ecmult: use EXIT_... constants for main return values

This commit is contained in:
Sebastian Falbesoner
2025-02-14 13:43:29 +01:00
parent 965393fcea
commit c855581728
9 changed files with 28 additions and 22 deletions

View File

@@ -24,7 +24,7 @@ static int64_t gettime_i64(void) {
struct timespec tv;
if (!timespec_get(&tv, TIME_UTC)) {
fputs("timespec_get failed!", stderr);
exit(1);
exit(EXIT_FAILURE);
}
return (int64_t)tv.tv_nsec / 1000 + (int64_t)tv.tv_sec * 1000000LL;
#else