diff options
Diffstat (limited to 'ace/os_include/utmpx.h')
-rw-r--r-- | ace/os_include/utmpx.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/ace/os_include/utmpx.h b/ace/os_include/utmpx.h index 8549fc6d038..ee26bf42aa2 100644 --- a/ace/os_include/utmpx.h +++ b/ace/os_include/utmpx.h @@ -2,19 +2,19 @@ //============================================================================= /** - * @file utmpx.h + * @file os_utmpx.h * * user accounting database definitions * * $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_UTMPX_H -#define ACE_OS_INCLUDE_UTMPX_H +#ifndef ACE_OS_INCLUDE_OS_UTMPX_H +#define ACE_OS_INCLUDE_OS_UTMPX_H #include "ace/pre.h" @@ -27,8 +27,18 @@ #include "ace/os_include/sys/time.h" #if !defined (ACE_LACKS_UTMPX_H) -# include /**/ <utmpx.h> +# include /**/ <utmpx.h> #endif /* !ACE_LACKS_UTMPX_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_UTMPX_H */ +#endif /* ACE_OS_INCLUDE_OS_UTMPX_H */ |