diff mbox

[52/57] libmultipath: make 'dm_addmap' static

Message ID 1461755458-29225-53-git-send-email-hare@suse.de (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Hannes Reinecke April 27, 2016, 11:10 a.m. UTC
dm_addmap() is only used within devmapper.c, so it can be made
static.

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 libmultipath/devmapper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/libmultipath/devmapper.c b/libmultipath/devmapper.c
index b10f9e6..4a87bf7 100644
--- a/libmultipath/devmapper.c
+++ b/libmultipath/devmapper.c
@@ -275,7 +275,7 @@  dm_device_remove (const char *name, int needsync, int deferred_remove) {
 			    deferred_remove, needsync ? &cookie : NULL);
 }
 
-extern int
+static int
 dm_addmap (int task, const char *target, struct multipath *mpp,
 	   char * params, int ro, uint32_t *cookie) {
 	int r = 0;