aboutsummaryrefslogtreecommitdiff
path: root/src/gen
diff options
context:
space:
mode:
authorJ08nY2018-03-03 01:24:03 +0100
committerJ08nY2018-03-03 01:24:03 +0100
commitd53630043dedeef63a1ea8063c537a939d43afda (patch)
treea79f723623da515b6611cbe8d8896ff829f289c7 /src/gen
parent1f0f281a8a0ee8d4114a7f1df6c762f20e935746 (diff)
downloadecgen-d53630043dedeef63a1ea8063c537a939d43afda.tar.gz
ecgen-d53630043dedeef63a1ea8063c537a939d43afda.tar.zst
ecgen-d53630043dedeef63a1ea8063c537a939d43afda.zip
Add direcory names to include guards.
Diffstat (limited to 'src/gen')
-rw-r--r--src/gen/curve.h6
-rw-r--r--src/gen/equation.h6
-rw-r--r--src/gen/field.h6
-rw-r--r--src/gen/gens.h6
-rw-r--r--src/gen/hex.h6
-rw-r--r--src/gen/order.h6
-rw-r--r--src/gen/point.h6
-rw-r--r--src/gen/seed.h6
8 files changed, 24 insertions, 24 deletions
diff --git a/src/gen/curve.h b/src/gen/curve.h
index e2316c6..b2158eb 100644
--- a/src/gen/curve.h
+++ b/src/gen/curve.h
@@ -5,8 +5,8 @@
/**
* @file curve.h
*/
-#ifndef ECGEN_CURVE_H
-#define ECGEN_CURVE_H
+#ifndef ECGEN_GEN_CURVE_H
+#define ECGEN_GEN_CURVE_H
#include <pari/pari.h>
#include "misc/types.h"
@@ -96,4 +96,4 @@ curve_t *curve_new_clone(const curve_t *src);
*/
void curve_free(curve_t **curve);
-#endif // ECGEN_CURVE_H
+#endif // ECGEN_GEN_CURVE_H
diff --git a/src/gen/equation.h b/src/gen/equation.h
index b344635..2a732d9 100644
--- a/src/gen/equation.h
+++ b/src/gen/equation.h
@@ -5,8 +5,8 @@
/**
* @file equation.h
*/
-#ifndef ECGEN_EQUATION_H
-#define ECGEN_EQUATION_H
+#ifndef ECGEN_GEN_EQUATION_H
+#define ECGEN_GEN_EQUATION_H
#include "misc/types.h"
@@ -136,4 +136,4 @@ GENERATOR(b_gen_seed);
*/
void equation_quit(void);
-#endif // ECGEN_EQUATION_H
+#endif // ECGEN_GEN_EQUATION_H
diff --git a/src/gen/field.h b/src/gen/field.h
index 7a16fe4..6d61453 100644
--- a/src/gen/field.h
+++ b/src/gen/field.h
@@ -5,8 +5,8 @@
/**
* @file field.h
*/
-#ifndef ECGEN_FIELD_H
-#define ECGEN_FIELD_H
+#ifndef ECGEN_GEN_FIELD_H
+#define ECGEN_GEN_FIELD_H
#include "misc/types.h"
@@ -79,4 +79,4 @@ GEN field_ielement(GEN field, GEN in);
*/
void field_quit(void);
-#endif // ECGEN_FIELD_H
+#endif // ECGEN_GEN_FIELD_H
diff --git a/src/gen/gens.h b/src/gen/gens.h
index a1ab63c..c36f862 100644
--- a/src/gen/gens.h
+++ b/src/gen/gens.h
@@ -6,8 +6,8 @@
* @brief
* @file gens.h
*/
-#ifndef ECGEN_GENS_H
-#define ECGEN_GENS_H
+#ifndef ECGEN_GEN_GENS_H
+#define ECGEN_GEN_GENS_H
#include "misc/types.h"
@@ -82,4 +82,4 @@ CHECK(gens_check_embedding);
*/
UNROLL(gens_unroll);
-#endif // ECGEN_GENS_H
+#endif // ECGEN_GEN_GENS_H
diff --git a/src/gen/hex.h b/src/gen/hex.h
index 23621de..b366af7 100644
--- a/src/gen/hex.h
+++ b/src/gen/hex.h
@@ -5,8 +5,8 @@
/**
* @file hex.h
*/
-#ifndef ECGEN_HEX_H
-#define ECGEN_HEX_H
+#ifndef ECGEN_GEN_HEX_H
+#define ECGEN_GEN_HEX_H
#include "misc/types.h"
@@ -19,4 +19,4 @@
*/
CHECK(hex_check_param);
-#endif // ECGEN_HEX_H
+#endif // ECGEN_GEN_HEX_H
diff --git a/src/gen/order.h b/src/gen/order.h
index e77937f..53e2250 100644
--- a/src/gen/order.h
+++ b/src/gen/order.h
@@ -5,8 +5,8 @@
/**
* @file order.h
*/
-#ifndef ECGEN_ORDER_H
-#define ECGEN_ORDER_H
+#ifndef ECGEN_GEN_ORDER_H
+#define ECGEN_GEN_ORDER_H
#include "misc/types.h"
@@ -85,4 +85,4 @@ CHECK(order_check_pohlig_hellman);
*/
CHECK(order_check_discriminant);
-#endif // ECGEN_ORDER_H
+#endif // ECGEN_GEN_ORDER_H
diff --git a/src/gen/point.h b/src/gen/point.h
index c97e738..cc03326 100644
--- a/src/gen/point.h
+++ b/src/gen/point.h
@@ -5,8 +5,8 @@
/**
* @file point.h
*/
-#ifndef ECGEN_POINT_H
-#define ECGEN_POINT_H
+#ifndef ECGEN_GEN_POINT_H
+#define ECGEN_GEN_POINT_H
#include "misc/types.h"
@@ -182,4 +182,4 @@ GENERATOR(points_gen_nonprime);
*/
UNROLL(points_unroll);
-#endif // ECGEN_POINT_H
+#endif // ECGEN_GEN_POINT_H
diff --git a/src/gen/seed.h b/src/gen/seed.h
index 67482e3..89a229e 100644
--- a/src/gen/seed.h
+++ b/src/gen/seed.h
@@ -5,8 +5,8 @@
/**
* @file seed.h
*/
-#ifndef ECGEN_SEED_H
-#define ECGEN_SEED_H
+#ifndef ECGEN_GEN_SEED_H
+#define ECGEN_GEN_SEED_H
#include "io/input.h"
#include "misc/types.h"
@@ -58,4 +58,4 @@ void seed_free(seed_t **seed);
*/
UNROLL(seed_unroll);
-#endif // ECGEN_SEED_H
+#endif // ECGEN_GEN_SEED_H