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
@ -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 New Issue
Block a user