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/] [20071214-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
typedef __builtin_va_list va_list;
2
void gftp_config_parse_args (int numargs, char **first, ...)
3
{
4
  char **dest = first;
5
  va_list argp;
6
  __builtin_va_start (argp, first);
7
  while (numargs-- > 0)
8
    {
9
      *dest = __builtin_malloc (1);
10
      dest = __builtin_va_arg(argp, char **);
11
      *dest = ((void *)0);
12
    }
13
  __builtin_va_end(argp);
14
}
15
 

powered by: WebSVN 2.1.0

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