diff options
Diffstat (limited to 'ACE/ace/OS_NS_stdlib.h')
-rw-r--r-- | ACE/ace/OS_NS_stdlib.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ACE/ace/OS_NS_stdlib.h b/ACE/ace/OS_NS_stdlib.h index ef50095ccf5..4e0e4442eeb 100644 --- a/ACE/ace/OS_NS_stdlib.h +++ b/ACE/ace/OS_NS_stdlib.h @@ -100,10 +100,10 @@ namespace ACE_OS { */ //@{ ACE_NAMESPACE_INLINE_FUNCTION - void _exit (int status = 0) ACE_GCC_NO_RETURN; + void _exit [[noreturn]] (int status = 0); ACE_NAMESPACE_INLINE_FUNCTION - void abort (void) ACE_GCC_NO_RETURN; + void abort [[noreturn]] (); /** * Register an at exit hook. The @a name can be used to analyze shutdown @@ -180,7 +180,7 @@ namespace ACE_OS { void *calloc (size_t elements, size_t sizeof_elements); extern ACE_Export - void exit (int status = 0) ACE_GCC_NO_RETURN; + void exit [[noreturn]] (int status = 0); extern ACE_Export void free (void *); @@ -195,7 +195,7 @@ namespace ACE_OS { // not in spec extern ACE_Export - ACE_TCHAR *getenvstrings (void); + ACE_TCHAR *getenvstrings (); // itoa not in spec /// Converts an integer to a string. @@ -276,7 +276,7 @@ namespace ACE_OS { int unsetenv(const char *name); ACE_NAMESPACE_INLINE_FUNCTION - int rand (void); + int rand (); ACE_NAMESPACE_INLINE_FUNCTION int rand_r (unsigned int *seed); |