Commit 8153ff5c5f3183dec007469d7e039b4d01ea6d82

Authored by Joe Perches
Committed by David S. Miller
1 parent efb48ccfcd

scm.h: Remove extern from function prototypes

There are a mix of function prototypes with and without extern
in the kernel sources.  Standardize on not using extern for
function prototypes.

Function prototypes don't need to be written with extern.
extern is assumed by the compiler.  Its use is as unnecessary as
using auto to declare automatic/local variables in a block.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 5 additions and 5 deletions Side-by-side Diff

... ... @@ -33,11 +33,11 @@
33 33 #endif
34 34 };
35 35  
36   -extern void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
37   -extern void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
38   -extern int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
39   -extern void __scm_destroy(struct scm_cookie *scm);
40   -extern struct scm_fp_list * scm_fp_dup(struct scm_fp_list *fpl);
  36 +void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
  37 +void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
  38 +int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
  39 +void __scm_destroy(struct scm_cookie *scm);
  40 +struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl);
41 41  
42 42 #ifdef CONFIG_SECURITY_NETWORK
43 43 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm)