Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools.h')
-rw-r--r--src/tools.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools.h b/src/tools.h
index e5f319f..8f29cf8 100644
--- a/src/tools.h
+++ b/src/tools.h
@@ -1,5 +1,5 @@
/*
-Copyright 2015 Ian Jauslin
+Copyright 2015-2022 Ian Jauslin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -46,4 +46,7 @@ int intlist_find_err(int* list, int size, int x);
int max(int x1, int x2);
int min(int x1, int x2);
+// check whether a divides b
+int is_factor(int a, int b);
+
#endif