net: constify some ppp/pptp structs

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eric Dumazet 2010-09-21 06:43:54 +00:00 committed by David S. Miller
parent a9478e3861
commit 756e64a0b1
5 changed files with 9 additions and 9 deletions

View file

@ -204,7 +204,7 @@ struct pppox_proto {
struct module *owner;
};
extern int register_pppox_proto(int proto_num, struct pppox_proto *pp);
extern int register_pppox_proto(int proto_num, const struct pppox_proto *pp);
extern void unregister_pppox_proto(int proto_num);
extern void pppox_unbind_sock(struct sock *sk);/* delete ppp-channel binding */
extern int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);