This commit is contained in:
Gregory Nutt 2014-08-17 09:45:38 -06:00
parent ab78e8a0c5
commit 716aec39bf

View File

@ -66,14 +66,15 @@
#undef EXTERN
#if defined(__cplusplus)
#define EXTERN extern "C"
extern "C" {
extern "C"
{
#else
#define EXTERN extern
#endif
/* ioctl() is a non-standard UNIX-like API */
EXTERN int ioctl(int fd, int req, unsigned long arg);
int ioctl(int fd, int req, unsigned long arg);
#undef EXTERN
#if defined(__cplusplus)