Skip to content

Commit

Permalink
Update omrsig_map_portlib_signal_to_os_signal
Browse files Browse the repository at this point in the history
Return macro OMRPORT_SIG_ERROR (-1) from
omrsig_map_portlib_signal_to_os_signal.

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
  • Loading branch information
babsingh committed Apr 23, 2018
1 parent f2d99ea commit e602c51
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions port/common/omrsignal.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ omrsig_map_os_signal_to_portlib_signal(struct OMRPortLibrary *portLibrary, uint3
* @param[in] portLibrary The port library
* @param[in] portlibSignalFlag port library signal flag
*
* @return OS signal value on success and -1 on failure
* @return OS signal value on success and OMRPORT_SIG_ERROR (-1) on failure
*/
int32_t
omrsig_map_portlib_signal_to_os_signal(struct OMRPortLibrary *portLibrary, uint32_t portlibSignalFlag)
{
return -1;
return OMRPORT_SIG_ERROR;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion port/unix/omrsignal.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ omrsig_map_os_signal_to_portlib_signal(struct OMRPortLibrary *portLibrary, uint3
int32_t
omrsig_map_portlib_signal_to_os_signal(struct OMRPortLibrary *portLibrary, uint32_t portlibSignalFlag)
{
return -1;
return OMRPORT_SIG_ERROR;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion port/win32/omrsignal.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ omrsig_map_os_signal_to_portlib_signal(struct OMRPortLibrary *portLibrary, uint3
int32_t
omrsig_map_portlib_signal_to_os_signal(struct OMRPortLibrary *portLibrary, uint32_t portlibSignalFlag)
{
return -1;
return OMRPORT_SIG_ERROR;
}

int32_t
Expand Down
2 changes: 1 addition & 1 deletion port/win64amd/omrsignal.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ omrsig_map_os_signal_to_portlib_signal(struct OMRPortLibrary *portLibrary, uint3
int32_t
omrsig_map_portlib_signal_to_os_signal(struct OMRPortLibrary *portLibrary, uint32_t portlibSignalFlag)
{
return -1;
return OMRPORT_SIG_ERROR;
}

int32_t
Expand Down
2 changes: 1 addition & 1 deletion port/ztpf/omrsignal.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ omrsig_map_os_signal_to_portlib_signal(struct OMRPortLibrary *portLibrary, uint3
int32_t
omrsig_map_portlib_signal_to_os_signal(struct OMRPortLibrary *portLibrary, uint32_t portlibSignalFlag)
{
return -1;
return OMRPORT_SIG_ERROR;
}

/*
Expand Down

0 comments on commit e602c51

Please sign in to comment.