diff mbox series

[29/41] libmultipath: rename _init_config()

Message ID 20240808152620.93965-30-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/config.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/libmultipath/config.c b/libmultipath/config.c
index 34cbb43..b742fb4 100644
--- a/libmultipath/config.c
+++ b/libmultipath/config.c
@@ -879,25 +879,25 @@  static void set_max_checkint_from_watchdog(struct config *conf)
 }
 #endif
 
-static int _init_config (const char *file, struct config *conf);
+static int init_config__ (const char *file, struct config *conf);
 
 int init_config(const char *file)
 {
-	return _init_config(file, &internal_config);
+	return init_config__(file, &internal_config);
 }
 
 struct config *load_config(const char *file)
 {
 	struct config *conf = alloc_config();
 
-	if (conf && !_init_config(file, conf))
+	if (conf && !init_config__(file, conf))
 		return conf;
 
 	free(conf);
 	return NULL;
 }
 
-int _init_config (const char *file, struct config *conf)
+int init_config__ (const char *file, struct config *conf)
 {
 
 	if (!conf)