diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-08-23 18:06:11 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-08-23 18:06:11 +0200 |
| commit | 994744a3edc74c88271ffe57958a08b70f9f5079 (patch) | |
| tree | 56ab7ba2d7a8c610ce52c7c5b3aa73927c1cd274 | |
| parent | 583ad1cbe5d1ad9c0a64bbf8180aec21a68463e0 (diff) | |
| download | trand-994744a3edc74c88271ffe57958a08b70f9f5079.tar.gz trand-994744a3edc74c88271ffe57958a08b70f9f5079.tar.bz2 trand-994744a3edc74c88271ffe57958a08b70f9f5079.zip | |
Removed archive, Added gitignorecacharle
| -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(); |
