Loading...
--- Libc/Libc-1725.40.4/include/alloca.h
+++ Libc/Libc-320/include/alloca.h
@@ -2,6 +2,8 @@
* Copyright (c) 2003 Apple Computer, Inc. All rights reserved.
*
* @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
@@ -25,17 +27,16 @@
#define _ALLOCA_H_
#include <sys/cdefs.h>
-#include <_bounds.h>
-#include <_types.h>
-#include <sys/_types/_size_t.h>
+#include <machine/ansi.h>
-_LIBC_SINGLE_BY_DEFAULT()
+#ifndef _BSD_SIZE_T_DEFINED_
+#define _BSD_SIZE_T_DEFINED_
+typedef _BSD_SIZE_T_ size_t;
+#endif
-#ifndef UNIFDEF_DRIVERKIT
__BEGIN_DECLS
-void *_LIBC_SIZE(__size) alloca(size_t __size); /* built-in for gcc */
+void *alloca(size_t); /* built-in for gcc */
__END_DECLS
-#endif /* UNIFDEF_DRIVERKIT */
#if defined(__GNUC__) && __GNUC__ >= 3
/* built-in for gcc 3 */