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/] [inline-1.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 __builtin_va_list va_list;
2
 
3
extern void foo (va_list);
4
 
5
static void
6
build_message_string (const char *msg, ...)
7
{
8
  va_list ap;
9
 
10
  __builtin_va_start (ap, msg);
11
  foo (ap);
12
  __builtin_va_end (ap);
13
}
14
 
15
void
16
file_name_as_prefix (f)
17
     const char *f;
18
{
19
  build_message_string ("%s: ", f);
20
}
21
 

powered by: WebSVN 2.1.0

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