Skip to content

Commit

Permalink
Remove unused macro: sig_handler_t
Browse files Browse the repository at this point in the history
Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
  • Loading branch information
keithc-ca committed Jun 18, 2024
1 parent 4c74f94 commit 73e0bfa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include_core/omrsig.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ typedef void (*sighandler_t)(int sig);
typedef void (*sighandler_t)(int sig);
#define __THROW
#elif defined(OMR_OS_WINDOWS)
/* Use sig_handler_t instead of sighandler_t for Windows. Define it for compatibility. */
#define sig_handler_t sighandler_t
typedef void (__cdecl *sighandler_t)(int signum);
typedef void (__cdecl *sighandler_t)(int sig);
#define __THROW
#endif /* defined(OMR_OS_WINDOWS) */

Expand Down

0 comments on commit 73e0bfa

Please sign in to comment.