diff options
| author | J08nY | 2017-06-05 03:02:59 +0200 |
|---|---|---|
| committer | J08nY | 2017-06-05 03:02:59 +0200 |
| commit | b93ff135327915964f98716081a3ad9f9d0e9442 (patch) | |
| tree | 13188f68e635c61c84cf07c40728bad02f8cf534 /src | |
| parent | 027c13dc25e5cabd137d3318db7a7a0c3f700884 (diff) | |
| download | ecgen-b93ff135327915964f98716081a3ad9f9d0e9442.tar.gz ecgen-b93ff135327915964f98716081a3ad9f9d0e9442.tar.zst ecgen-b93ff135327915964f98716081a3ad9f9d0e9442.zip | |
Fix formatting and whitespace.
Diffstat (limited to 'src')
| -rw-r--r-- | src/math/subgroups.c | 5 | ||||
| -rw-r--r-- | src/util/memory.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/math/subgroups.c b/src/math/subgroups.c index 91bd16a..7665ff3 100644 --- a/src/math/subgroups.c +++ b/src/math/subgroups.c @@ -3,7 +3,6 @@ * Copyright (C) 2017 J08nY */ #include "subgroups.h" -#include "io/output.h" /** * @brief All prime divisors of a given integer. @@ -20,7 +19,7 @@ static GEN subgroups_factors(GEN order) { * @param order * @return */ -static GEN subgroups_divisors(GEN order) { +static GEN __attribute__((unused)) subgroups_divisors(GEN order) { GEN factors = Z_factor(order); GEN primes = gel(factors, 1); GEN multiples = gel(factors, 2); @@ -115,4 +114,4 @@ GEN subgroups_all(const curve_t *curve, const config_t *cfg) { GEN factors = subgroups_factors(curve->order); return subgroups_2n(factors, 0); } -}
\ No newline at end of file +} diff --git a/src/util/memory.c b/src/util/memory.c index 2c2281c..d7d4b48 100644 --- a/src/util/memory.c +++ b/src/util/memory.c @@ -25,4 +25,4 @@ void *try_realloc(void *ptr, size_t size) { exit(EXIT_FAILURE); } return result; -}
\ No newline at end of file +} |
