OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr41006-2.c] - Diff between revs 297 and 384

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 384
typedef int *FARPROC;
typedef int *FARPROC;
static int * __restrict__ acceptex_fn;
static int * __restrict__ acceptex_fn;
 
 
int xWSAIoctl(void*);
int xWSAIoctl(void*);
static void get_fn(FARPROC* fn)
static void get_fn(FARPROC* fn)
{
{
  FARPROC func;
  FARPROC func;
  if (!xWSAIoctl( &func))
  if (!xWSAIoctl( &func))
    *fn = func;
    *fn = func;
}
}
 
 
void get_fn_pointers()
void get_fn_pointers()
{
{
  get_fn((FARPROC*)&acceptex_fn);
  get_fn((FARPROC*)&acceptex_fn);
}
}
 
 

powered by: WebSVN 2.1.0

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