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
+2
-2
@@ -37,7 +37,7 @@ static inline void misc_print_missing_sub_command(void)
|
||||
/**
|
||||
* Invalid command specified (for 'git' like tools)
|
||||
*/
|
||||
void misc_print_invalid_command(const char *command)
|
||||
static void misc_print_invalid_command(const char *command)
|
||||
{
|
||||
warnx("Invalid command '%s'", command);
|
||||
util_prg_print_parse_error();
|
||||
@@ -48,7 +48,7 @@ void misc_print_invalid_command(const char *command)
|
||||
*
|
||||
* @param[in] parm_name Parameter string
|
||||
*/
|
||||
void misc_print_required_parm(const char *parm_name)
|
||||
static void misc_print_required_parm(const char *parm_name)
|
||||
{
|
||||
warnx("Parameter '%s' is required", parm_name);
|
||||
util_prg_print_parse_error();
|
||||
|
||||
Reference in New Issue
Block a user