1#include "ss.h"
2#include <stdio.h>
3
4typedef float f;
5
6float sg = 5.5;
7int sgi = 2;
8static int sgs = 7;
9
10#ifdef PROTOTYPES
11int shr1(int x)
12#else
13int shr1(x)
14int x;
15#endif
16{
17  f mumble;
18  int l;
19  l = 1;
20  {
21    int l;
22    l = 2;
23  }
24  mumble = 7.7;
25  sg = 6.6;
26  sgi++;
27  sgs = 8;
28  printf("address of sgs is 0x%x\n", &sgs);
29  return 2*x;
30}
31
32#ifdef PROTOTYPES
33static int shr1_local(int x)
34#else
35static int shr1_local(x)
36int x;
37#endif
38{
39  return 2*x;
40}
41
42#ifdef PROTOTYPES
43int structarg(struct s x)
44#else
45int structarg(x)
46struct s x;
47#endif
48{
49  return x.a;
50}
51
52#ifdef PROTOTYPES
53int pstructarg(struct s *x)
54#else
55int pstructarg(x)
56struct s *x;
57#endif
58{
59  return x->a;
60}
61
62
63
64