diff options
author | Mark Friedenbach <mark@friedenbach.org> | 2016-02-08 16:44:41 -0800 |
---|---|---|
committer | Mark Friedenbach <mark@friedenbach.org> | 2016-02-08 16:44:41 -0800 |
commit | a6bf28bbb2a8505fd2079e965d2d7868caefaff6 (patch) | |
tree | faff6e58b17eb482f5cbee9d815567f882100c6e /src | |
parent | improve readme (diff) | |
download | libsha2-a6bf28bbb2a8505fd2079e965d2d7868caefaff6.tar.gz libsha2-a6bf28bbb2a8505fd2079e965d2d7868caefaff6.tar.bz2 libsha2-a6bf28bbb2a8505fd2079e965d2d7868caefaff6.tar.xz |
Restructure code style to prevent trailing comma in enumerations, which is not permitted in C89.
Diffstat (limited to 'src')
-rw-r--r-- | src/libsha2/state.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libsha2/state.h b/src/libsha2/state.h index c752047..241d552 100644 --- a/src/libsha2/state.h +++ b/src/libsha2/state.h @@ -33,32 +33,32 @@ typedef enum libsha2_algorithm /** * SHA-224, outputs 28 bytes */ - LIBSHA2_224 = 1, + LIBSHA2_224 = 1 /** * SHA-256, outputs 32 bytes */ - LIBSHA2_256 = 2, + ,LIBSHA2_256 = 2 /** * SHA-384, outputs 48 bytes */ - LIBSHA2_384 = 3, + ,LIBSHA2_384 = 3 /** * SHA-512, outputs 64 bytes */ - LIBSHA2_512 = 4, + ,LIBSHA2_512 = 4 /** * SHA-512/224, outputs 28 bytes */ - LIBSHA2_512_224 = 5, + ,LIBSHA2_512_224 = 5 /** * SHA-512/256, outputs 32 bytes */ - LIBSHA2_512_256 = 6, + ,LIBSHA2_512_256 = 6 } libsha2_algorithm_t; |