mosys: Add 'void' to some function args
ToT clang has become more strict about function prototypes.
Add 'void' to function prototypes that do not have it as
mosys explicitly has -Wstrict-prototypes enabled.
Fixes errors like:
mosys/core/kv_pair.c:57:43: error: function declaration
without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
enum kv_pair_style mosys_get_kv_pair_style()
BUG=b:230345382
TEST=CQ, tot llvm
Change-Id: I8b3d136b0b813d060589feeb05c82b91f5454fd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/mosys/+/3610971
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Auto-Submit: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
3 files changed