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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr41006-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
typedef int (*FARPROC)();
2
 
3
typedef int (*LPFN_ACCEPTEX)(void*);
4
static LPFN_ACCEPTEX acceptex_fn;
5
 
6
int xWSAIoctl(void*);
7
static void get_fn(FARPROC* fn)
8
{
9
    FARPROC func;
10
    if (!xWSAIoctl( &func))
11
        *fn = func;
12
}
13
 
14
void get_fn_pointers()
15
{
16
    get_fn((FARPROC*)&acceptex_fn);
17
}

powered by: WebSVN 2.1.0

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