OSDN Git Service

[PATCH] missed const in prototype
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:49:37 +0000 (22:49 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:24 +0000 (15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/pcap_user.h

index 58f9f6a..96b80b5 100644 (file)
@@ -15,7 +15,7 @@ struct pcap_data {
        void *dev;
 };
 
-extern struct net_user_info pcap_user_info;
+extern const struct net_user_info pcap_user_info;
 
 extern int pcap_user_read(int fd, void *buf, int len, struct pcap_data *pri);