Skip to content

Commit

Permalink
headers_check fix: linux/socket.h
Browse files Browse the repository at this point in the history
fix the following 'make headers_check' warning:

  usr/include/linux/socket.h:29: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
  • Loading branch information
Jaswinder Singh Rajput committed Feb 2, 2009
1 parent 9fe03bc commit 7d7dc0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/linux/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ struct __kernel_sockaddr_storage {
#include <linux/types.h> /* pid_t */
#include <linux/compiler.h> /* __user */

#ifdef CONFIG_PROC_FS
#ifdef __KERNEL__
# ifdef CONFIG_PROC_FS
struct seq_file;
extern void socket_seq_show(struct seq_file *seq);
#endif
# endif
#endif /* __KERNEL__ */

typedef unsigned short sa_family_t;

Expand Down

0 comments on commit 7d7dc0d

Please sign in to comment.