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/] [pr34885.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 union {
2
  __const struct sockaddr *__restrict __sockaddr__;
3
} __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__));
4
extern int _pure_socketcall (const struct sockaddr *);
5
extern int sendto (__CONST_SOCKADDR_ARG __addr);
6
int send(void)
7
{
8
  return sendto((void *)0);
9
}
10
int sendto(const struct sockaddr *to)
11
{
12
   return _pure_socketcall(to);
13
}
14
 

powered by: WebSVN 2.1.0

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