xref: /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/shr2.c (revision 5a38ef86d0b61900239c7913d24a05e7b88a58f0)
1 #ifdef PROTOTYPES
2 int shr2(int x)
3 #else
4 int shr2(x) int x;
5 #endif
6 {
7   return 2*x;
8 }
9 
10 #ifdef PROTOTYPES
11 int shr2_local(int x)
12 #else
13 int shr2_local(x) int x;
14 #endif
15 {
16   return 2*x;
17 }
18