summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-08 09:31:48 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-08 09:31:48 +0000
commit34896cda4e7156a5e232dfa4cde92d1ea1e93da2 (patch)
treeeadf1f3f31e9ac1765a200d9693a1884f3b76977
parentbc714f8001edbb26ebf07411cf92e9ba2f756b35 (diff)
downloadskalibs-34896cda4e7156a5e232dfa4cde92d1ea1e93da2.tar.xz
remove non-working links in libbiguint
-rw-r--r--src/libbiguint/bu_div_internal.c1
-rw-r--r--src/libbiguint/bu_divmod_internal.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/libbiguint/bu_div_internal.c b/src/libbiguint/bu_div_internal.c
index 20fb5ef..0765a99 100644
--- a/src/libbiguint/bu_div_internal.c
+++ b/src/libbiguint/bu_div_internal.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <errno.h>
#include <skalibs/biguint.h>
/*
diff --git a/src/libbiguint/bu_divmod_internal.c b/src/libbiguint/bu_divmod_internal.c
index 13d3583..afb8ccc 100644
--- a/src/libbiguint/bu_divmod_internal.c
+++ b/src/libbiguint/bu_divmod_internal.c
@@ -5,7 +5,7 @@
/*
u = u/a mod m. a and m must be relatively prime - otherwise, infinite loop.
a is not immutable.
- Original idea: see http://research.sun.com/techrep/2001/abstract-95.html
+ Original idea by Sheueling Chang Shantz of Sun Research.
*/
void bu_divmod_internal (uint32_t *u, uint32_t *a, uint32_t const *m, unsigned int n)