OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [zero-strct-4.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
typedef struct {} raw_spinlock_t;
2
typedef struct {
3
  raw_spinlock_t raw_lock;
4
} spinlock_t;
5
struct sk_buff_head {
6
  int i;
7
  spinlock_t lock;
8
};
9
struct sk_buff_head audit_skb_queue;
10
void audit_init(void)
11
{
12
  struct sk_buff_head *list = &audit_skb_queue;
13
  audit_skb_queue.lock = (spinlock_t) { .raw_lock = { } };
14
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.