aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--libtrand.abin2728 -> 0 bytes
-rw-r--r--trand.h14
3 files changed, 9 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e0292b1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.o
+*.a
diff --git a/libtrand.a b/libtrand.a
deleted file mode 100644
index 70cc0e2..0000000
--- a/libtrand.a
+++ /dev/null
Binary files differ
diff --git a/trand.h b/trand.h
index 7286c45..34b96fd 100644
--- a/trand.h
+++ b/trand.h
@@ -1,13 +1,13 @@
#ifndef TRAND_H
- #define TRAND_H
+# define TRAND_H
- #ifndef DEF_NTHREAD
- #define DEF_NTHREAD 4
- #endif
+# ifndef DEF_NTHREAD
+# define DEF_NTHREAD 4
+# endif
-#include <pthread.h>
-#include <time.h>
-#include <stdlib.h>
+# include <pthread.h>
+# include <time.h>
+# include <stdlib.h>
int ntrand(unsigned long long n);
int trand();