X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/734aad71947a79037af64f74c683f5eb36fe6065..a9aaacca3a68bb8d74fec09d8d8681a0efda2581:/include/crt_externs.h?ds=inline diff --git a/include/crt_externs.h b/include/crt_externs.h index af46a2b..eb3729a 100644 --- a/include/crt_externs.h +++ b/include/crt_externs.h @@ -3,8 +3,6 @@ * * @APPLE_LICENSE_HEADER_START@ * - * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. - * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -33,8 +31,17 @@ ** AOF (afreier@next.com) */ +#include + +__BEGIN_DECLS extern char ***_NSGetArgv(void); extern int *_NSGetArgc(void); extern char ***_NSGetEnviron(void); extern char **_NSGetProgname(void); -extern struct mach_header *_NSGetMachExecuteHeader(void); +#ifdef __LP64__ +extern struct mach_header_64 * +#else /* !__LP64__ */ +extern struct mach_header * +#endif /* __LP64__ */ + _NSGetMachExecuteHeader(void); +__END_DECLS