diff options
| author | J08nY | 2018-03-03 01:24:03 +0100 |
|---|---|---|
| committer | J08nY | 2018-03-03 01:24:03 +0100 |
| commit | d53630043dedeef63a1ea8063c537a939d43afda (patch) | |
| tree | a79f723623da515b6611cbe8d8896ff829f289c7 /src/util | |
| parent | 1f0f281a8a0ee8d4114a7f1df6c762f20e935746 (diff) | |
| download | ecgen-d53630043dedeef63a1ea8063c537a939d43afda.tar.gz ecgen-d53630043dedeef63a1ea8063c537a939d43afda.tar.zst ecgen-d53630043dedeef63a1ea8063c537a939d43afda.zip | |
Add direcory names to include guards.
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/bits.h | 6 | ||||
| -rw-r--r-- | src/util/memory.h | 6 | ||||
| -rw-r--r-- | src/util/random.h | 6 | ||||
| -rw-r--r-- | src/util/str.h | 6 | ||||
| -rw-r--r-- | src/util/timeout.h | 6 |
5 files changed, 15 insertions, 15 deletions
diff --git a/src/util/bits.h b/src/util/bits.h index 4b33e33..20668f7 100644 --- a/src/util/bits.h +++ b/src/util/bits.h @@ -5,8 +5,8 @@ /** * @file bits.h */ -#ifndef ECGEN_BITS_H -#define ECGEN_BITS_H +#ifndef ECGEN_UTIL_BITS_H +#define ECGEN_UTIL_BITS_H #include "misc/types.h" @@ -101,4 +101,4 @@ void bits_sha1(const bits_t *bits, unsigned char hashout[20]); bool bits_eq(const bits_t *one, const bits_t *other); -#endif // ECGEN_BITS_H +#endif // ECGEN_UTIL_BITS_H diff --git a/src/util/memory.h b/src/util/memory.h index 3355b8b..55d77cb 100644 --- a/src/util/memory.h +++ b/src/util/memory.h @@ -5,8 +5,8 @@ /** * @file memory.h */ -#ifndef ECGEN_MEMORY_H -#define ECGEN_MEMORY_H +#ifndef ECGEN_UTIL_MEMORY_H +#define ECGEN_UTIL_MEMORY_H #include <stddef.h> @@ -64,4 +64,4 @@ void set_mem_funcs(void *(*malloc_fun)(size_t), void *(*calloc_fun)(size_t), void *(*realloc_fun)(void *, size_t), void (*free_fun)(void *)); -#endif // ECGEN_MEMORY_H +#endif // ECGEN_UTIL_MEMORY_H diff --git a/src/util/random.h b/src/util/random.h index f5844da..21d32de 100644 --- a/src/util/random.h +++ b/src/util/random.h @@ -5,8 +5,8 @@ /** * @file random.h */ -#ifndef ECGEN_RANDOM_H -#define ECGEN_RANDOM_H +#ifndef ECGEN_UTIL_RANDOM_H +#define ECGEN_UTIL_RANDOM_H #include <pari/pari.h> #include <stdbool.h> @@ -51,4 +51,4 @@ GEN random_int(unsigned long bits); */ GEN random_field_element(GEN field); -#endif // ECGEN_RANDOM_H +#endif // ECGEN_UTIL_RANDOM_H diff --git a/src/util/str.h b/src/util/str.h index fb828da..2e2feba 100644 --- a/src/util/str.h +++ b/src/util/str.h @@ -5,8 +5,8 @@ /** * @file str.h */ -#ifndef ECGEN_STR_H -#define ECGEN_STR_H +#ifndef ECGEN_UTIL_STR_H +#define ECGEN_UTIL_STR_H #include <stddef.h> @@ -42,4 +42,4 @@ char *str_joinv(char *separator, ...); */ char *str_concat(char **strings, size_t len); -#endif // ECGEN_STR_H +#endif // ECGEN_UTIL_STR_H diff --git a/src/util/timeout.h b/src/util/timeout.h index 8f545dd..5a5c0d2 100644 --- a/src/util/timeout.h +++ b/src/util/timeout.h @@ -5,8 +5,8 @@ /** * @file timeout.h */ -#ifndef ECGEN_TIMEOUT_H -#define ECGEN_TIMEOUT_H +#ifndef ECGEN_UTIL_TIMEOUT_H +#define ECGEN_UTIL_TIMEOUT_H #include <setjmp.h> #include <sys/syscall.h> @@ -72,4 +72,4 @@ bool timeout_init(); */ void timeout_quit(); -#endif // ECGEN_TIMEOUT_H +#endif // ECGEN_UTIL_TIMEOUT_H |
