OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [991213-2.c] - Rev 816

Go to most recent revision | Compare with Previous | Blame | View Log

typedef long		__kernel_time_t;
typedef __kernel_time_t		time_t;
time2(
    void (* const  (funcp)(time_t)),
    const long offset, int * const okayp)
{
	register int			bits;
	time_t				t;
	for (bits = 0, t = 1; t > 0; ++bits, t <<= 1)
		;
	t = (t < 0) ? 0 : ((time_t) 1 << bits);
	for ( ; ; ) {
		(*funcp)((time_t)&t);
	}
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.