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:
committed by
David S. Miller
parent
a9478e3861
commit
756e64a0b1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user