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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [991213-2.c] - Blame information for rev 841

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

Line No. Rev Author Line
1 149 jeremybenn
typedef long            __kernel_time_t;
2
typedef __kernel_time_t         time_t;
3
time2(
4
    void (* const  (funcp)(time_t)),
5
    const long offset, int * const okayp)
6
{
7
        register int                    bits;
8
        time_t                          t;
9
        for (bits = 0, t = 1; t > 0; ++bits, t <<= 1)
10
                ;
11
        t = (t < 0) ? 0 : ((time_t) 1 << bits);
12
        for ( ; ; ) {
13
                (*funcp)((time_t)&t);
14
        }
15
}

powered by: WebSVN 2.1.0

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