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:
Craig Rodrigues 2007-01-18 02:00:04 +00:00
parent 394c6ef282
commit e76c6d8cd3

View File

@ -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;