summaryrefslogtreecommitdiff
path: root/ace/os_include/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/aio.h')
-rw-r--r--ace/os_include/aio.h24
1 files changed, 17 insertions, 7 deletions
diff --git a/ace/os_include/aio.h b/ace/os_include/aio.h
index b7c377d4f21..3ac08ff048b 100644
--- a/ace/os_include/aio.h
+++ b/ace/os_include/aio.h
@@ -2,19 +2,19 @@
//=============================================================================
/**
- * @file aio.h
- *
+ * @file os_aio.h
+ *
* asynchronous input and output (REALTIME)
*
* $Id$
*
- * @author Don Hinton <dhinton@ieee.org>
+ * @author Don Hinton <dhinton@dresystems.com>
* @author This code was originally in various places including ace/OS.h.
*/
//=============================================================================
-#ifndef ACE_OS_INCLUDE_AIO_H
-#define ACE_OS_INCLUDE_AIO_H
+#ifndef ACE_OS_INCLUDE_OS_AIO_H
+#define ACE_OS_INCLUDE_OS_AIO_H
#include "ace/pre.h"
@@ -24,7 +24,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-// Inclusion of the <aio.h> header may make visible symbols defined in
+// Inclusion of the <aio.h> header may make visible symbols defined in
// the headers <fcntl.h>, <signal.h>, <sys/types.h>, and <time.h>.
#include "ace/os_include/signal.h" // for sigevent
@@ -33,5 +33,15 @@
# include /**/ <aio.h>
#endif /* !ACE_LACKS_AIO_H */
+// Place all additions (especially function declarations) within extern "C" {}
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#include "ace/post.h"
-#endif /* ACE_OS_INCLUDE_AIO_H */
+#endif /* ACE_OS_INCLUDE_OS_AIO_H */