xref: /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/shr2.c (revision f6aab3d83b51b91c24247ad2c2573574de475a82)
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