Revert to Current Include Style
[ACE_TAO.git] / ACE / ace / OS_NS_devctl.h
blobc1ed2975b90ceacd6ae9d6fa08d9a2c6f095a256
1 #ifndef ACE_OS_NS_DEVCTL_H
2 #define ACE_OS_NS_DEVCTL_H
4 #include /**/ "ace/pre.h"
5 #include "ace/config-all.h"
7 #ifndef ACE_LACKS_PRAGMA_ONCE
8 #pragma once
9 #endif
11 #include "ace/os_include/sys/os_types.h"
13 #include "ace/ACE_export.h"
15 #ifdef ACE_EXPORT_MACRO
16 # undef ACE_EXPORT_MACRO
17 #endif
18 #define ACE_EXPORT_MACRO ACE_Export
20 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
21 namespace ACE_OS {
23 ACE_NAMESPACE_INLINE_FUNCTION
24 int posix_devctl (int filedes, int dcmd,
25 void *dev_data_ptr, size_t nbyte,
26 int *dev_info_ptr);
29 ACE_END_VERSIONED_NAMESPACE_DECL
31 #ifdef ACE_HAS_INLINED_OSCALLS
32 # ifdef ACE_INLINE
33 # undef ACE_INLINE
34 # endif
35 # define ACE_INLINE inline
36 # include "ace/OS_NS_devctl.inl"
37 #endif
39 #include /**/ "ace/post.h"
40 #endif // ACE_OS_NS_DEVCTL_H