phonet: sparse annotations of protocol, remove forward declaration
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 7 Nov 2008 07:10:50 +0000 (23:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Nov 2008 07:10:50 +0000 (23:10 -0800)
commit5c7f0333584128c745fbda845abbe3a32c22d467
treef3177803eb94aa9cbc1e28b1626cacfa06341cf3
parentca62059b7ec7267d1d2cab0791d3ed6d033e0583
phonet: sparse annotations of protocol, remove forward declaration

net/phonet/af_phonet.c:38:36: error: marked inline, but without a definition
net/phonet/pep-gprs.c:63:10: warning: incorrect type in return expression (different base types)
net/phonet/pep-gprs.c:63:10:    expected int
net/phonet/pep-gprs.c:63:10:    got restricted __be16 [usertype] <noident>
net/phonet/pep-gprs.c:65:10: warning: incorrect type in return expression (different base types)
net/phonet/pep-gprs.c:65:10:    expected int
net/phonet/pep-gprs.c:65:10:    got restricted __be16 [usertype] <noident>
net/phonet/pep-gprs.c:124:16: warning: incorrect type in assignment (different base types)
net/phonet/pep-gprs.c:124:16:    expected restricted __be16 [usertype] protocol
net/phonet/pep-gprs.c:124:16:    got unsigned short [unsigned] [usertype] protocol

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/phonet/af_phonet.c
net/phonet/pep-gprs.c