diff mbox series

[27/41] libmultipath: foreign: rename _check() to check__()

Message ID 20240808152620.93965-28-mwilck@suse.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipath-tools: comply with C library reserved names | expand

Commit Message

Martin Wilck Aug. 8, 2024, 3:26 p.m. UTC
Signed-off-by: Martin Wilck <mwilck@suse.com>
---
 libmultipath/foreign/nvme.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libmultipath/foreign/nvme.c b/libmultipath/foreign/nvme.c
index 9b26764..40b88f7 100644
--- a/libmultipath/foreign/nvme.c
+++ b/libmultipath/foreign/nvme.c
@@ -891,7 +891,7 @@  int delete(struct context *ctx, struct udev_device *ud)
 	return rc;
 }
 
-void _check(struct context *ctx)
+void check__(struct context *ctx)
 {
 	struct gen_multipath *gm;
 	int i;
@@ -908,7 +908,7 @@  void check(struct context *ctx)
 	condlog(4, "%s called for \"%s\"", __func__, THIS);
 	lock(ctx);
 	pthread_cleanup_push(unlock, ctx);
-	_check(ctx);
+	check__(ctx);
 	pthread_cleanup_pop(1);
 	return;
 }