From 6fe1e9ca3bf0c8e47e69a231b19e84592db02b56 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 19 Sep 2017 14:26:50 +0200 Subject: Cleanup includes. --- src/exhaustive/ansi.c | 7 ++++--- src/exhaustive/ansi.h | 8 +++++++- src/exhaustive/exhaustive.c | 1 - src/gen/curve.c | 1 - src/gen/seed.c | 3 --- src/io/cli.c | 1 - src/io/input.c | 1 - 7 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/exhaustive/ansi.c b/src/exhaustive/ansi.c index 6c36063..24cdd66 100644 --- a/src/exhaustive/ansi.c +++ b/src/exhaustive/ansi.c @@ -1,7 +1,8 @@ - +/* + * ecgen, tool for generating Elliptic curve domain parameters + * Copyright (C) 2017 J08nY + */ #include "ansi.h" -#include -#include #include "gen/field.h" #include "gen/seed.h" #include "io/output.h" diff --git a/src/exhaustive/ansi.h b/src/exhaustive/ansi.h index ec24e13..fbe9a3f 100644 --- a/src/exhaustive/ansi.h +++ b/src/exhaustive/ansi.h @@ -1,4 +1,10 @@ - +/* + * ecgen, tool for generating Elliptic curve domain parameters + * Copyright (C) 2017 J08nY + */ +/* + * @file ansi.h + */ #ifndef ECGEN_ANSI_H #define ECGEN_ANSI_H diff --git a/src/exhaustive/exhaustive.c b/src/exhaustive/exhaustive.c index a83bd42..22e4f6f 100644 --- a/src/exhaustive/exhaustive.c +++ b/src/exhaustive/exhaustive.c @@ -3,7 +3,6 @@ * Copyright (C) 2017 J08nY */ #include "exhaustive.h" -#include #include "anomalous.h" #include "ansi.h" #include "gen/curve.h" diff --git a/src/gen/curve.c b/src/gen/curve.c index b160c97..9e7d210 100644 --- a/src/gen/curve.c +++ b/src/gen/curve.c @@ -3,7 +3,6 @@ * Copyright (C) 2017 J08nY */ #include "curve.h" -#include #include "point.h" #include "seed.h" #include "util/memory.h" diff --git a/src/gen/seed.c b/src/gen/seed.c index 2a806e9..87f5109 100644 --- a/src/gen/seed.c +++ b/src/gen/seed.c @@ -4,9 +4,6 @@ */ #include "seed.h" -#include -#include "io/output.h" -#include "misc/types.h" #include "util/bits.h" #include "util/memory.h" diff --git a/src/io/cli.c b/src/io/cli.c index ce9d3d9..536188c 100644 --- a/src/io/cli.c +++ b/src/io/cli.c @@ -6,7 +6,6 @@ #include #include #include "exhaustive/ansi.h" -#include "misc/config.h" char cli_doc[] = "ecgen, tool for generating Elliptic curve domain parameters.\v(C) 2017 " diff --git a/src/io/input.c b/src/io/input.c index f86afe4..8c59209 100644 --- a/src/io/input.c +++ b/src/io/input.c @@ -6,7 +6,6 @@ #include "input.h" #include "output.h" -#include "util/memory.h" FILE *in; int delim; -- cgit v1.3.1