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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr41006-1.c] - Blame information for rev 378

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

Line No. Rev Author Line
1 297 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.