summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-08-26 09:16:25 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-08-28 17:07:59 +0000
commit06b331b4fee0f4f99a95d9b17d2320671cfa2a95 (patch)
treeab2a3021117bc8629e57a208640ac57a68211e8f
parent331a3a1338ebbb94625c07aa75cadd5df99a7237 (diff)
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77497 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--util/coreboot-configurator/src/application/NvramToolCli.h2
1 files changed, 1 insertions, 1 deletions
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);
}