mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Forward declare __pcpu as a pointer type instead of an array type to
eliminate GCC 4.1 error: "array type has incomplete element type".
This commit is contained in:
parent
394c6ef282
commit
e76c6d8cd3
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ extern int szsigcode;
|
|||
extern uint64_t *vm_page_dump;
|
||||
extern int vm_page_dump_size;
|
||||
|
||||
extern struct pcpu __pcpu[];
|
||||
extern struct pcpu *__pcpu;
|
||||
|
||||
typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss);
|
||||
struct thread;
|
||||
|
|
|
|||
Loading…
Reference in a new issue