summaryrefslogtreecommitdiff
path: root/include/num.h
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2021-01-31 19:56:48 +0000
committerStefan Eßer <se@FreeBSD.org>2021-01-31 19:58:45 +0000
commit47a52dc4d48f259ab7d9f9ba6b65f4f2331a22dc (patch)
tree6e73791cfb3f127d7f2889c8e0a0380bc9913514 /include/num.h
parent7fe0a3f2085758fdef0a705dbc81d72f1f1953c6 (diff)
Diffstat (limited to 'include/num.h')
-rw-r--r--include/num.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/num.h b/include/num.h
index 4868ae3de6a8..2104f8b8acad 100644
--- a/include/num.h
+++ b/include/num.h
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: BSD-2-Clause
*
- * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
+ * Copyright (c) 2018-2021 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -236,7 +236,9 @@ void bc_num_zero(BcNum *restrict n);
void bc_num_one(BcNum *restrict n);
ssize_t bc_num_cmpZero(const BcNum *n);
+#if !defined(NDEBUG) || BC_ENABLE_LIBRARY
bool bc_num_strValid(const char *restrict val);
+#endif // !defined(NDEBUG) || BC_ENABLE_LIBRARY
void bc_num_parse(BcNum *restrict n, const char *restrict val, BcBigDig base);
void bc_num_print(BcNum *restrict n, BcBigDig base, bool newline);
#if DC_ENABLED