cbfstool: Don't typedef the comp_algo enum
Our style discourages unnecessary typedefs, and this one doesn't gain us anything, nor is it consistent with the surrounding code: there's a function pointer typedef'd nearby, but non-opaque structs aren't. BUG=chromium:482652 TEST=None BRANCH=None Change-Id: Ie7565240639e5b1aeebb08ea005099aaa3557a27 Signed-off-by: Sol Boucher <solb@chromium.org> Original-Change-Id: I4285e6b56f99b85b9684f2b98b35e9b35a6c4cb7 Original-Signed-off-by: Sol Boucher <solb@chromium.org> Reviewed-on: http://review.coreboot.org/10146 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Stefan Reinauer
parent
67d5998d97
commit
6310ccc59c
@@ -38,7 +38,7 @@ static int none_compress(char *in, int in_len, char *out, int *out_len)
|
||||
return 0;
|
||||
}
|
||||
|
||||
comp_func_ptr compression_function(comp_algo algo)
|
||||
comp_func_ptr compression_function(enum comp_algo algo)
|
||||
{
|
||||
comp_func_ptr compress;
|
||||
switch (algo) {
|
||||
|
Reference in New Issue
Block a user