device-mapper-multipath/0009-RH-Fix-nvme-function-missing-argument.patch
Benjamin Marzinski dad5d3a235 device-mapper-multipath-0.8.9-1
Update source to upstream version 0.8.9
  * Previous patches 0001-0024 & 0035 are included in the commit.
Add patches from upstream staging branch
  * Patches 0001-0005 are from the upstream staging branch
Rename redhat patches
  * Previous patches 0025-0034 are now patches 0006-0015
Combine redhat patches
  * Previous patches 0036 & 0037 are now part of patch 0011
Add 0016-RH-add-scsi-device-handlers-to-modules-load.d.patch
Spec file changes
  * Install multipath.conf and scsi_dh.conf to /usr/lib/modules-load.d
2022-03-28 16:34:33 -05:00

27 lines
973 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Benjamin Marzinski <bmarzins@redhat.com>
Date: Fri, 25 Jan 2019 14:54:56 -0600
Subject: [PATCH] RH: Fix nvme function missing argument
A future patch will change the compilation options to error when
function declarations have unspecified arguments.
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
libmultipath/nvme/argconfig.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libmultipath/nvme/argconfig.h b/libmultipath/nvme/argconfig.h
index adb192b6..bfd10ef8 100644
--- a/libmultipath/nvme/argconfig.h
+++ b/libmultipath/nvme/argconfig.h
@@ -76,7 +76,7 @@ struct argconfig_commandline_options {
extern "C" {
#endif
-typedef void argconfig_help_func();
+typedef void argconfig_help_func(void);
void argconfig_append_usage(const char *str);
void argconfig_print_help(const char *program_desc,
const struct argconfig_commandline_options *options);