mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-21 23:27:39 +01:00
Fix some compiler warnings
This commit is contained in:
parent
5e854a4103
commit
814bd79fb1
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
so we simply defer to glibc siglongjmp here. */
|
||||
|
||||
#define siglongjmp __nonworking_siglongjmp
|
||||
static void siglongjmp (sigjmp_buf env, int val);
|
||||
static void siglongjmp (sigjmp_buf env, int val) UNUSED;
|
||||
#endif
|
||||
#endif /* __GLIBC_PREREQ */
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ static void verror_msg_helper(const char *s,
|
|||
if (flags & LOGMODE_STDIO)
|
||||
{
|
||||
fflush(stdout);
|
||||
write(STDERR_FILENO, msg, used + msgeol_len);
|
||||
used += write(STDERR_FILENO, msg, used + msgeol_len);
|
||||
}
|
||||
msg[used] = '\0'; /* remove msg_eol (usually "\n") */
|
||||
if (flags & LOGMODE_SYSLOG)
|
||||
|
|
Loading…
Reference in a new issue