34e49164 C |
1 | typedef struct { |
2 | struct semaphore lock; |
3 | } scsi_changer; |
4 | |
5 | |
6 | int main1 (scsi_changer *x) { |
7 | foo(x->lock); |
8 | } |
9 | |
10 | struct scsi_changer_two { |
11 | struct semaphore lock; |
12 | }; |
13 | |
14 | |
15 | int main2 (struct scsi_changer_two *x) { |
16 | foo(x->lock); |
17 | } |