aboutsummaryrefslogtreecommitdiffstats
path: root/gl/lib/xdectoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/xdectoint.c')
-rw-r--r--gl/lib/xdectoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/lib/xdectoint.c b/gl/lib/xdectoint.c
index da3e655c6..061a08c22 100644
--- a/gl/lib/xdectoint.c
+++ b/gl/lib/xdectoint.c
@@ -21,11 +21,11 @@
#include <errno.h>
#include <inttypes.h>
+#include <stddef.h>
#include <stdlib.h>
#include "error.h"
#include "quote.h"
-#include "verify.h"
#include "xstrtol.h"
/* Parse numeric string N_STR of base BASE, and return the value.
@@ -69,7 +69,7 @@ __xnumtoint (char const *n_str, int base, __xdectoint_t min, __xdectoint_t max,
/* EINVAL error message is redundant in this context. */
error (err_exit ? err_exit : EXIT_FAILURE, errno == EINVAL ? 0 : errno,
"%s: %s", err, quote (n_str));
- assume (false);
+ unreachable ();
}
return tnum;