mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix build failures with -DDEBUG.
[BZ #19443] * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string. [DEBUG] (_ufc_set_bits): Declare used. * iconv/gconv_dl.c [DEBUG]: Add a missing include directive. [DEBUG] (print_all): Declare used. * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert operands of the ternary ?: expression to target type. * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of calling the undeclared abort. * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
This commit is contained in:
@ -271,12 +271,12 @@ _ufc_prbits (ufc_long *a, int n)
|
||||
t=8*i+j;
|
||||
tmp|=(a[t/24] & BITMASK[t % 24])?bytemask[j]:0;
|
||||
}
|
||||
(void)printf("%02x ",tmp);
|
||||
(void)printf("%02lx ", tmp);
|
||||
}
|
||||
printf(" ");
|
||||
}
|
||||
|
||||
static void
|
||||
static void __attribute__ ((unused))
|
||||
_ufc_set_bits (ufc_long v, ufc_long *b)
|
||||
{
|
||||
ufc_long i;
|
||||
|
Reference in New Issue
Block a user