protect ioctl() with __BEGIN/__END_DECLS for C++

This commit is contained in:
Ben Gras 2011-07-09 16:07:53 +02:00
parent 898d9f97f6
commit c63a0cfddc

View file

@ -7,6 +7,8 @@
#ifndef _M_IOCTL_H #ifndef _M_IOCTL_H
#define _M_IOCTL_H #define _M_IOCTL_H
#include <sys/cdefs.h>
#ifndef _TYPES_H #ifndef _TYPES_H
#include <minix/types.h> #include <minix/types.h>
#endif #endif
@ -63,6 +65,8 @@
#define _IORW(x,y,t) _IO(x,y) #define _IORW(x,y,t) _IO(x,y)
#endif #endif
__BEGIN_DECLS
int ioctl(int _fd, int _request, void *_data); int ioctl(int _fd, int _request, void *_data);
__END_DECLS
#endif /* _M_IOCTL_H */ #endif /* _M_IOCTL_H */