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/] [pr41006-2.c] - Blame information for rev 859

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

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

powered by: WebSVN 2.1.0

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