Skip to content
Snippets Groups Projects
Commit ee0cb841 authored by Avi Kivity's avatar Avi Kivity
Browse files

linux_ioctl_socket.c: convert to C++

parent 9e73f02c
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@
#include <osv/ioctl.h>
#include <sys/ioctl.h>
extern int soo_ioctl(struct file *fp, u_long cmd, void *data);
extern "C" int soo_ioctl(struct file *fp, u_long cmd, void *data);
/*
* Implement the SIOCGIFCONF ioctl
......@@ -226,6 +226,8 @@ linux_to_bsd_ifreq(struct bsd_ifreq *ifr_p)
* Socket related ioctls
*/
extern "C" int linux_ioctl_socket(struct file *fp, u_long cmd, void *data);
int
linux_ioctl_socket(struct file *fp, u_long cmd, void *data)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment