summaryrefslogtreecommitdiff
path: root/ace/os_include/grp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/grp.h')
-rw-r--r--ace/os_include/grp.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/ace/os_include/grp.h b/ace/os_include/grp.h
index 1cfdd579433..04ef45e3d19 100644
--- a/ace/os_include/grp.h
+++ b/ace/os_include/grp.h
@@ -2,19 +2,19 @@
//=============================================================================
/**
- * @file grp.h
+ * @file os_grp.h
*
* group structure
*
* $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_GRP_H
-#define ACE_OS_INCLUDE_GRP_H
+#ifndef ACE_OS_INCLUDE_OS_GRP_H
+#define ACE_OS_INCLUDE_OS_GRP_H
#include "ace/pre.h"
@@ -30,5 +30,15 @@
# include /**/ <grp.h>
#endif /* !ACE_LACKS_GRP_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_GRP_H */
+#endif /* ACE_OS_INCLUDE_OS_GRP_H */