X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..935ed37a5c468c8a1c07408573c08b8b7ef80e8b:/pexpert/gen/pe_gen.c?ds=sidebyside diff --git a/pexpert/gen/pe_gen.c b/pexpert/gen/pe_gen.c index 5217ff292..32be95e27 100644 --- a/pexpert/gen/pe_gen.c +++ b/pexpert/gen/pe_gen.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -30,6 +30,7 @@ */ #include +#include #include static int DEBUGFlag; @@ -49,11 +50,10 @@ void PE_enter_debugger(char *cause) } /* extern references */ -extern void cnputc(char c); extern void vcattach(void); /* Globals */ -void (*PE_putc)(char c) = 0; +void (*PE_putc)(char c); void PE_init_printf(boolean_t vm_initialized) {