diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | libtrand.a | bin | 2728 -> 0 bytes | |||
| -rw-r--r-- | trand.h | 14 |
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 Binary files differdeleted file mode 100644 index 70cc0e2..0000000 --- a/libtrand.a +++ /dev/null @@ -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(); |
