aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Friedenbach <mark@friedenbach.org>2016-02-19 17:57:40 -0800
committerMark Friedenbach <mark@friedenbach.org>2016-02-19 17:57:40 -0800
commit31a53a2b9e8b0b7ee2bfc493171504285c5ff3c9 (patch)
treef572f132161f9bab03a260bffe7598881744bd1d
parentRevert "Restructure code style to prevent trailing comma in enumerations, which is not permitted in C89." (diff)
downloadlibsha2-31a53a2b9e8b0b7ee2bfc493171504285c5ff3c9.tar.gz
libsha2-31a53a2b9e8b0b7ee2bfc493171504285c5ff3c9.tar.bz2
libsha2-31a53a2b9e8b0b7ee2bfc493171504285c5ff3c9.tar.xz
Remove trailing comma in enumeration
Trailing commas are not supported in strict C89.
Diffstat (limited to '')
-rw-r--r--src/libsha2/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsha2/state.h b/src/libsha2/state.h
index c752047..f081a64 100644
--- a/src/libsha2/state.h
+++ b/src/libsha2/state.h
@@ -58,7 +58,7 @@ typedef enum libsha2_algorithm
/**
* SHA-512/256, outputs 32 bytes
*/
- LIBSHA2_512_256 = 6,
+ LIBSHA2_512_256 = 6
} libsha2_algorithm_t;