summaryrefslogtreecommitdiff
path: root/src/number.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/number.c')
-rw-r--r--src/number.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/number.c b/src/number.c
index 33dccab..62b9783 100644
--- a/src/number.c
+++ b/src/number.c
@@ -128,3 +128,9 @@ numset_free (struct numset *ns)
free (ns->numbers_taken);
free (ns);
}
+
+void
+numset_clear (struct numset *ns)
+{
+ ns->num_taken = 0;
+}