mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
a9478e3861
commit
756e64a0b1
5 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue