aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_error_min.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-05 23:30:24 +0100
committerMattias Andrée <maandree@kth.se>2021-03-05 23:30:24 +0100
commit80a78b91c2905fcacf0236d63a9f4e3d7e576d7e (patch)
tree305419312ba536e041be28bb271118e0ccf6956b /libgamma_error_min.c
parentm (diff)
downloadlibgamma-80a78b91c2905fcacf0236d63a9f4e3d7e576d7e.tar.gz
libgamma-80a78b91c2905fcacf0236d63a9f4e3d7e576d7e.tar.bz2
libgamma-80a78b91c2905fcacf0236d63a9f4e3d7e576d7e.tar.xz
minor fixes + add tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libgamma_error_min.c')
-rw-r--r--libgamma_error_min.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libgamma_error_min.c b/libgamma_error_min.c
index 199429c..b71ef9c 100644
--- a/libgamma_error_min.c
+++ b/libgamma_error_min.c
@@ -2,9 +2,13 @@
#include "common.h"
+#define X(...) -1
+
/**
* The number of the libgamma error with the
* lowest number in the version of the library
* that the program is linked against
*/
-const int libgamma_error_min = LIBGAMMA_ERROR_MIN;
+const int libgamma_error_min = LIST_ERRORS(X);
+
+#undef X