diff options
Diffstat (limited to 'src/components/utils/include/utils/signals.h')
-rw-r--r-- | src/components/utils/include/utils/signals.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/utils/include/utils/signals.h b/src/components/utils/include/utils/signals.h index 72d29a9e28..dc0585c1d1 100644 --- a/src/components/utils/include/utils/signals.h +++ b/src/components/utils/include/utils/signals.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Ford Motor Company + * Copyright (c) 2016, Ford Motor Company * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -33,7 +33,7 @@ #ifndef SRC_COMPONENTS_UTILS_INCLUDE_UTILS_SIGNALS_H_ #define SRC_COMPONENTS_UTILS_INCLUDE_UTILS_SIGNALS_H_ -#ifdef __QNXNTO__ +#if defined(__QNXNTO__) typedef void (*sighandler_t)(int); #else #include <signal.h> @@ -41,8 +41,9 @@ typedef void (*sighandler_t)(int); namespace utils { -bool UnsibscribeFromTermination(); -bool WaitTerminationSignals(sighandler_t sig_handler); +void CreateSdlEvent(); +void WaitForSdlExecute(); +void SubscribeToTerminationSignals(); } // namespace utils |