summaryrefslogtreecommitdiff
path: root/src/libstddjb/int64_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/int64_scan.c')
-rw-r--r--src/libstddjb/int64_scan.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libstddjb/int64_scan.c b/src/libstddjb/int64_scan.c
index 934e84c..2631c0c 100644
--- a/src/libstddjb/int64_scan.c
+++ b/src/libstddjb/int64_scan.c
@@ -1,6 +1,9 @@
/* ISC license. */
-#include "fmtscan-internal.h"
#include <skalibs/uint64.h>
+#include "fmtscan-internal.h"
-SCANS(64)
+size_t int64_scan_base (char const *s, int64_t *d, uint8_t base)
+{
+ return int64_scan_base_max(s, d, base, INT64_MAX) ;
+}