mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Fix sparse, gcc 10, and -Wpedantic warnings
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
301eece09b
commit
041e3ad996
+3
-3
@@ -38,7 +38,7 @@
|
||||
/*
|
||||
* Program configuration
|
||||
*/
|
||||
const struct util_prg prg = {
|
||||
static const struct util_prg prg = {
|
||||
.desc = "Manage secure AES keys",
|
||||
.command_args = "COMMAND [SECURE-KEY-FILE]",
|
||||
.args = "",
|
||||
@@ -2769,8 +2769,8 @@ static bool is_command(struct zkey_command *command, const char *str)
|
||||
/*
|
||||
* Find the command in the command table
|
||||
*/
|
||||
struct zkey_command *find_command(const struct zkey_command *commands,
|
||||
const char *command)
|
||||
static struct zkey_command *find_command(const struct zkey_command *commands,
|
||||
const char *command)
|
||||
{
|
||||
struct zkey_command *cmd = (struct zkey_command *)commands;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user