]> git.baikalelectronics.ru Git - kernel.git/commit
net: socket: Make unnecessarily global sockfs_setattr() static
authorTobias Klauser <tklauser@distanz.ch>
Tue, 10 Jan 2017 08:30:51 +0000 (09:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Jan 2017 16:29:50 +0000 (11:29 -0500)
commit76aeb844b7ce4e92ce7c463b05cafea60e214cce
tree5432a11b25ed637fd3505ecc475a26b6fc1da5c7
parent24d0f39bce9e7da6e2947684c5ac85e6e6442ba1
net: socket: Make unnecessarily global sockfs_setattr() static

Make sockfs_setattr() static as it is not used outside of net/socket.c

This fixes the following GCC warning:
net/socket.c:534:5: warning: no previous prototype for ‘sockfs_setattr’ [-Wmissing-prototypes]

Fixes: d999f2405cd7 ("net: core: Add a UID field to struct sock.")
Cc: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c