binutils-gdb/gdb/testsuite/gdb.base/shr2.c

18 lines
181 B
C

#ifdef PROTOTYPES
int shr2(int x)
#else
int shr2(x) int x;
#endif
{
return 2*x;
}
#ifdef PROTOTYPES
int shr2_local(int x)
#else
int shr2_local(x) int x;
#endif
{
return 2*x;
}