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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [zero-strct-3.c] - Blame information for rev 859

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

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

powered by: WebSVN 2.1.0

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