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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [zero-strct-4.c] - Blame information for rev 247

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
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.