[dm-devel] [PATCH 7/7] Remove a superfluous "extern" keyword

Bart Van Assche bart.vanassche at sandisk.com
Wed May 17 15:43:09 UTC 2017


Since it is not necessary to use the "extern" keyword in front of
a function definition, remove that keyword.

Signed-off-by: Bart Van Assche <bart.vanassche at sandisk.com>
---
 libmultipath/propsel.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libmultipath/propsel.c b/libmultipath/propsel.c
index 09fe7282..3c057237 100644
--- a/libmultipath/propsel.c
+++ b/libmultipath/propsel.c
@@ -744,8 +744,7 @@ out:
 	return 0;
 }
 
-extern int
-select_max_sectors_kb (struct config *conf, struct multipath * mp)
+int select_max_sectors_kb(struct config *conf, struct multipath * mp)
 {
 	char *origin;
 
-- 
2.12.2




More information about the dm-devel mailing list