From 06b331b4fee0f4f99a95d9b17d2320671cfa2a95 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 26 Aug 2023 09:16:25 +0200 Subject: [PATCH] util/coreboot-configurator: Don't use old style function definition Use "int foo(void)" instead of old-style "int foo()". Change-Id: I19869ce2f47b543af4552ea23ce1fd1beea2f892 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/77497 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- util/coreboot-configurator/src/application/NvramToolCli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/coreboot-configurator/src/application/NvramToolCli.h b/util/coreboot-configurator/src/application/NvramToolCli.h index 3bb5d0a6ea..0fbb326f80 100644 --- a/util/coreboot-configurator/src/application/NvramToolCli.h +++ b/util/coreboot-configurator/src/application/NvramToolCli.h @@ -16,6 +16,6 @@ namespace NvramToolCli { Configuration::Parameters readParameters(QString* error = nullptr); QStringList readOptions(const QString& parameter, QString* error = nullptr); bool writeParameters(const Configuration::Parameters& parameters, QString* error = nullptr); -QString version(); +QString version(void); }