summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2014-08-31 20:21:45 +0200
committerReiner Herrmann <reiner@reiner-h.de>2014-08-31 20:35:09 +0200
commit95341b61b030c9e1290f3b326cb7ec584f543aea (patch)
tree852386fa04d32eb859bca11c0eff7b5ef9e50f00 /common.h
parent571164d977f91925c4c76a292f74f5f93d09ae23 (diff)
moved files to higher directory after split to new repositoryHEADtrunk
Diffstat (limited to 'common.h')
-rw-r--r--common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common.h b/common.h
new file mode 100644
index 0000000..10b298e
--- /dev/null
+++ b/common.h
@@ -0,0 +1,9 @@
+#ifndef COMMON_H
+#define COMMON_H
+
+unsigned long* primes(unsigned long limit);
+int isprime(unsigned long number, const unsigned long* primes);
+unsigned long phi(unsigned long n, unsigned long* primelist);
+int ispermutation(unsigned long a, unsigned long b);
+
+#endif // COMMON_H