All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] autofs: Drop unnecessary extern in .h
@ 2016-07-03  7:56 Tomohiro Kusumi
  2016-07-07  4:31 ` Ian Kent
  0 siblings, 1 reply; 2+ messages in thread
From: Tomohiro Kusumi @ 2016-07-03  7:56 UTC (permalink / raw)
  To: raven; +Cc: autofs, Tomohiro Kusumi

autofs4_kill_sb() doesn't need to be declared as extern,
and no other functions in .h are explicitly declared as extern.

Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
---
 fs/autofs4/autofs_i.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h
index a439548..eb87055 100644
--- a/fs/autofs4/autofs_i.h
+++ b/fs/autofs4/autofs_i.h
@@ -271,4 +271,4 @@ static inline void autofs4_del_expiring(struct dentry *dentry)
 	}
 }
 
-extern void autofs4_kill_sb(struct super_block *);
+void autofs4_kill_sb(struct super_block *);
-- 
2.5.5

--
To unsubscribe from this list: send the line "unsubscribe autofs" in

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] autofs: Drop unnecessary extern in .h
  2016-07-03  7:56 [PATCH] autofs: Drop unnecessary extern in .h Tomohiro Kusumi
@ 2016-07-07  4:31 ` Ian Kent
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Kent @ 2016-07-07  4:31 UTC (permalink / raw)
  To: Tomohiro Kusumi; +Cc: autofs

On Sun, 2016-07-03 at 16:56 +0900, Tomohiro Kusumi wrote:
> autofs4_kill_sb() doesn't need to be declared as extern,
> and no other functions in .h are explicitly declared as extern.

Straight forward, also added to the list.

> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
> ---
>  fs/autofs4/autofs_i.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h
> index a439548..eb87055 100644
> --- a/fs/autofs4/autofs_i.h
> +++ b/fs/autofs4/autofs_i.h
> @@ -271,4 +271,4 @@ static inline void autofs4_del_expiring(struct dentry
> *dentry)
>  	}
>  }
>  
> -extern void autofs4_kill_sb(struct super_block *);
> +void autofs4_kill_sb(struct super_block *);
--
To unsubscribe from this list: send the line "unsubscribe autofs" in

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-07  4:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-03  7:56 [PATCH] autofs: Drop unnecessary extern in .h Tomohiro Kusumi
2016-07-07  4:31 ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.