dm_addmap() is only used within devmapper.c, so it can be made static. Signed-off-by: Hannes Reinecke <hare@xxxxxxx> --- libmultipath/devmapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.6.6 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel