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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gdb/] [gdb-6.8/] [gdb-6.8.openrisc-2.1/] [gdb/] [testsuite/] [gdb.base/] [opaque1.c] - Diff between revs 24 and 33

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 24 Rev 33
struct foo {
struct foo {
    int a;
    int a;
    int b;
    int b;
} afoo = { 1, 2};
} afoo = { 1, 2};
 
 
struct foo *getfoo ()
struct foo *getfoo ()
{
{
    return (&afoo);
    return (&afoo);
}
}
 
 
#ifdef PROTOTYPES
#ifdef PROTOTYPES
void putfoo (struct foo *foop)
void putfoo (struct foo *foop)
#else
#else
void putfoo (foop)
void putfoo (foop)
     struct foo *foop;
     struct foo *foop;
#endif
#endif
{
{
}
}
 
 

powered by: WebSVN 2.1.0

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