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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20071214-1.c] - Blame information for rev 774

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

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