Loading...
include/libc.h Libc-262.3.2 Libc-583
--- Libc/Libc-262.3.2/include/libc.h
+++ Libc/Libc-583/include/libc.h
@@ -2,8 +2,6 @@
  * Copyright (c) 1999 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
@@ -26,8 +24,8 @@
  * Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  */
 
-#ifndef LIBC_H
-#define LIBC_H
+#ifndef _LIBC_H
+#define _LIBC_H
 
 #include <stdio.h>
 #include <standards.h>
@@ -43,13 +41,13 @@
 #include <stdarg.h>
 #endif
 
+#include <sys/param.h>
 #include <sys/mount.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/time.h>
 #include <sys/times.h>
 #include <sys/resource.h>
-#include <sys/param.h>
 #include <signal.h>
 #include <sys/time.h>
 #include <sys/stat.h>
@@ -68,8 +66,11 @@
         char *q_data;
 };
 
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
 extern kern_return_t map_fd(int fd, vm_offset_t offset,
         vm_offset_t *addr, boolean_t find_space, vm_size_t numbytes);
-
+__END_DECLS
 
 #endif  /* _LIBC_H */