* localtime.cc (increment_overflow): Mark as non-inline to prevent compiler
from complaining about the very thing we're trying to test. * ntea.cc (read_ea): Reorganize to avoid a new compiler warning/error. * sched.cc (sched_rr_get_interval): Ditto. * select.cc (peek_serial): Ditto. * libc/rexec.cc (ruserpass): Ditto. * posix_ipc.cc (ipc_names): Make static to avoid a compiler warning (and it's the right thing to do anyway).
This commit is contained in:
@ -1788,7 +1788,8 @@ ctime_r(const time_t *timep, char *buf)
|
||||
** Simplified normalize logic courtesy Paul Eggert (eggert@twinsun.com).
|
||||
*/
|
||||
|
||||
static int
|
||||
/* Mark as noinline to prevent a compiler warning. */
|
||||
static int __attribute__((noinline))
|
||||
increment_overflow(int *number, int delta)
|
||||
{
|
||||
int number0;
|
||||
|
Reference in New Issue
Block a user