mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
Cosmetic
This commit is contained in:
+3
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user