net: Move prototype declaration to appropriate header file from decnet/af_decnet.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 9 Feb 2014 16:50:09 +0000 (22:20 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2014 01:32:49 +0000 (17:32 -0800)
commitf56b8bf6e445b22bb6207dbcf30b2c7f5ddfdf96
tree7b42f17bd1817db4ebbd03b909574071c59daf0b
parent0a59f3a9fd7e2801a445682465ea0522ea497183
net: Move prototype declaration to appropriate header file from decnet/af_decnet.c

Move prototype declaration of functions to header file include/net/dn_route.h
from net/decnet/af_decnet.c because it is used by more than one file.

This eliminates the following warning in net/decnet/dn_route.c:
net/decnet/dn_route.c:629:5: warning: no previous prototype for ‘dn_route_rcv’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dn_route.h
net/decnet/af_decnet.c