summaryrefslogtreecommitdiff
path: root/ace/OS_NS_sys_shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS_NS_sys_shm.h')
-rw-r--r--ace/OS_NS_sys_shm.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/ace/OS_NS_sys_shm.h b/ace/OS_NS_sys_shm.h
index df39efdfd60..de1214a9bb1 100644
--- a/ace/OS_NS_sys_shm.h
+++ b/ace/OS_NS_sys_shm.h
@@ -33,15 +33,12 @@
#endif
#define ACE_EXPORT_MACRO ACE_Export
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
-namespace ACE_OS
-{
+namespace ACE_OS {
//@{ @name A set of wrappers for System V shared memory.
ACE_NAMESPACE_INLINE_FUNCTION
void *shmat (int int_id,
- const void *shmaddr,
+ void *shmaddr,
int shmflg);
ACE_NAMESPACE_INLINE_FUNCTION
@@ -50,7 +47,7 @@ namespace ACE_OS
struct shmid_ds *buf);
ACE_NAMESPACE_INLINE_FUNCTION
- int shmdt (const void *shmaddr);
+ int shmdt (void *shmaddr);
ACE_NAMESPACE_INLINE_FUNCTION
int shmget (key_t key,
@@ -60,8 +57,6 @@ namespace ACE_OS
} /* namespace ACE_OS */
-ACE_END_VERSIONED_NAMESPACE_DECL
-
# if defined (ACE_HAS_INLINED_OSCALLS)
# if defined (ACE_INLINE)
# undef ACE_INLINE