diff --git a/headers/posix/alloca.h b/headers/posix/alloca.h index cf8ee8b302..82bc2971c0 100644 --- a/headers/posix/alloca.h +++ b/headers/posix/alloca.h @@ -1,8 +1,9 @@ +/* + * Copyright 2003-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _ALLOCA_H #define _ALLOCA_H -/* -** Distributed under the terms of the OpenBeOS License. -*/ #include diff --git a/headers/posix/arch/arm/arch_setjmp.h b/headers/posix/arch/arm/arch_setjmp.h index a2ce56e36b..7db0bea9fe 100644 --- a/headers/posix/arch/arm/arch_setjmp.h +++ b/headers/posix/arch/arm/arch_setjmp.h @@ -1,10 +1,11 @@ /* - * Copyright 2008, Haiku, Inc. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_ + #define _SETJMP_BUF_SZ ((15+2)*4) typedef int __jmp_buf[_SETJMP_BUF_SZ]; diff --git a/headers/posix/arch/arm/signal.h b/headers/posix/arch/arm/signal.h index 5aaa8681b6..a6572ab074 100644 --- a/headers/posix/arch/arm/signal.h +++ b/headers/posix/arch/arm/signal.h @@ -1,10 +1,11 @@ /* - * Copyright 2008, Haiku, Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_ + /* * Architecture-specific structure passed to signal handlers */ diff --git a/headers/posix/arch/m68k/arch_setjmp.h b/headers/posix/arch/m68k/arch_setjmp.h index 7ce9828f0a..6bf077a3f3 100644 --- a/headers/posix/arch/m68k/arch_setjmp.h +++ b/headers/posix/arch/m68k/arch_setjmp.h @@ -1,10 +1,11 @@ /* - * Copyright 2007, Haiku, Inc. + * Copyright 2007-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_ + #define _SETJMP_BUF_SZ (7+6+2+8*((96/8)/4)) typedef int __jmp_buf[_SETJMP_BUF_SZ]; #warning M68K: fix jmpbuf size diff --git a/headers/posix/arch/m68k/signal.h b/headers/posix/arch/m68k/signal.h index b968061769..8ff2f3e23a 100644 --- a/headers/posix/arch/m68k/signal.h +++ b/headers/posix/arch/m68k/signal.h @@ -1,10 +1,11 @@ /* - * Copyright 2002-2007, Haiku, Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_ + /* * Architecture-specific structure passed to signal handlers */ diff --git a/headers/posix/arch/mipsel/arch_setjmp.h b/headers/posix/arch/mipsel/arch_setjmp.h index 0c798aec07..8c7189cddc 100644 --- a/headers/posix/arch/mipsel/arch_setjmp.h +++ b/headers/posix/arch/mipsel/arch_setjmp.h @@ -1,10 +1,11 @@ /* - * Copyright 2008, Haiku, Inc. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_ + typedef int __jmp_buf[42]; #warning MIPSEL: fix jmpbuf size diff --git a/headers/posix/arch/mipsel/signal.h b/headers/posix/arch/mipsel/signal.h index b8eee8b0f7..37dfb97261 100644 --- a/headers/posix/arch/mipsel/signal.h +++ b/headers/posix/arch/mipsel/signal.h @@ -1,10 +1,11 @@ /* - * Copyright 2008, Haiku, Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_ + /* * Architecture-specific structure passed to signal handlers */ diff --git a/headers/posix/arch/ppc/arch_setjmp.h b/headers/posix/arch/ppc/arch_setjmp.h index c2cb863d64..93d552b1f4 100644 --- a/headers/posix/arch/ppc/arch_setjmp.h +++ b/headers/posix/arch/ppc/arch_setjmp.h @@ -1,10 +1,11 @@ /* - * Copyright 2005, Haiku, Inc. + * Copyright 2005-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_ + typedef int __jmp_buf[23]; #endif /* _ARCH_SETJMP_H_ */ diff --git a/headers/posix/arch/ppc/signal.h b/headers/posix/arch/ppc/signal.h index 380e2a6506..bdb67ce940 100644 --- a/headers/posix/arch/ppc/signal.h +++ b/headers/posix/arch/ppc/signal.h @@ -1,10 +1,11 @@ /* - * Copyright 2002-2007, Haiku, Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_ + /* * Architecture-specific structure passed to signal handlers */ diff --git a/headers/posix/arch/x86/arch_setjmp.h b/headers/posix/arch/x86/arch_setjmp.h index 9a19981ef6..5221087a78 100644 --- a/headers/posix/arch/x86/arch_setjmp.h +++ b/headers/posix/arch/x86/arch_setjmp.h @@ -1,10 +1,11 @@ /* - * Copyright 2005, Haiku, Inc. + * Copyright 2005-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_ + typedef int __jmp_buf[6]; #endif /* _ARCH_SETJMP_H_ */ diff --git a/headers/posix/arch/x86/signal.h b/headers/posix/arch/x86/signal.h index b1fefbb62b..0d69b5225d 100644 --- a/headers/posix/arch/x86/signal.h +++ b/headers/posix/arch/x86/signal.h @@ -1,10 +1,11 @@ /* - * Copyright 2002-2007, Haiku, Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_ + /* * Architecture-specific structure passed to signal handlers */ diff --git a/headers/posix/arch/x86_64/arch_setjmp.h b/headers/posix/arch/x86_64/arch_setjmp.h index 009a6eee15..3780e9bb78 100644 --- a/headers/posix/arch/x86_64/arch_setjmp.h +++ b/headers/posix/arch/x86_64/arch_setjmp.h @@ -1,10 +1,11 @@ /* - * Copyright 2005, Haiku, Inc. + * Copyright 2005-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_ + /* TODO: A jmp_buf size of 12 might not be large enough. Increase to a large size if needed. */ typedef int __jmp_buf[12]; diff --git a/headers/posix/arch/x86_64/signal.h b/headers/posix/arch/x86_64/signal.h index 76f5c57558..bc97f98c6e 100644 --- a/headers/posix/arch/x86_64/signal.h +++ b/headers/posix/arch/x86_64/signal.h @@ -1,10 +1,11 @@ /* - * Copyright 2002-2007, Haiku, Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_ + /* * Architecture-specific structure passed to signal handlers */ diff --git a/headers/posix/arpa/inet.h b/headers/posix/arpa/inet.h index 2a4389b548..1c3c19168b 100644 --- a/headers/posix/arpa/inet.h +++ b/headers/posix/arpa/inet.h @@ -1,5 +1,5 @@ /* - * Copyright 2009, Haiku, Inc. All Rights Reserved. + * Copyright 2009-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _INET_H_ diff --git a/headers/posix/arpa/nameser.h b/headers/posix/arpa/nameser.h index 924379a8fa..f62cdc496c 100644 --- a/headers/posix/arpa/nameser.h +++ b/headers/posix/arpa/nameser.h @@ -1,5 +1,5 @@ /* - * Copyright 2006-2009, Haiku, Inc. All Rights Reserved. + * Copyright 2006-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ diff --git a/headers/posix/assert.h b/headers/posix/assert.h index 6190133e00..5c8d3db56a 100644 --- a/headers/posix/assert.h +++ b/headers/posix/assert.h @@ -1,9 +1,11 @@ -/* -** Distributed under the terms of the Haiku License. -*/ +/* + * Copyright 2004-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _ASSERT_H_ #define _ASSERT_H_ + #undef assert #ifndef NDEBUG diff --git a/headers/posix/bsd_mem.h b/headers/posix/bsd_mem.h index bf517b4961..0d2182aac5 100644 --- a/headers/posix/bsd_mem.h +++ b/headers/posix/bsd_mem.h @@ -1,3 +1,8 @@ +/* + * Copyright 2005-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ + /* Make life easier for those porting old Berkeley style code... diff --git a/headers/posix/compat/sys/stat.h b/headers/posix/compat/sys/stat.h index 2efbe2e03b..9722e118c3 100644 --- a/headers/posix/compat/sys/stat.h +++ b/headers/posix/compat/sys/stat.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2009, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _COMPAT_SYS_STAT_H_ diff --git a/headers/posix/ctype.h b/headers/posix/ctype.h index aef3965633..5b0c420e93 100644 --- a/headers/posix/ctype.h +++ b/headers/posix/ctype.h @@ -1,8 +1,10 @@ +/* + * Copyright 2003-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _CTYPE_H #define _CTYPE_H -/* -** Distributed under the terms of the OpenBeOS License. -*/ + #ifdef __cplusplus extern "C" { diff --git a/headers/posix/dirent.h b/headers/posix/dirent.h index 41dd924e75..9d8510eee3 100644 --- a/headers/posix/dirent.h +++ b/headers/posix/dirent.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _DIRENT_H diff --git a/headers/posix/div_t.h b/headers/posix/div_t.h index 05c58e4909..990240b93c 100644 --- a/headers/posix/div_t.h +++ b/headers/posix/div_t.h @@ -1,10 +1,11 @@ /* - * Copyright 2002-2005, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _DIV_T_H_ #define _DIV_T_H_ + typedef struct { int quot; int rem; diff --git a/headers/posix/dlfcn.h b/headers/posix/dlfcn.h index 0e229d3ebc..2b0a63fe09 100644 --- a/headers/posix/dlfcn.h +++ b/headers/posix/dlfcn.h @@ -1,5 +1,5 @@ /* - * Copyright 2003-2008, Haiku Inc. All Rights Reserved. + * Copyright 2003-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _DLFCN_H diff --git a/headers/posix/endian.h b/headers/posix/endian.h index aaa0d8a64a..a02cf9efe9 100644 --- a/headers/posix/endian.h +++ b/headers/posix/endian.h @@ -1,5 +1,5 @@ /* - * Copyright 2003-2008 Haiku, Inc. All rights reserved. + * Copyright 2003-2010 Haiku Inc. All rights reserved. * Distributed under the terms of the MIT License. */ #ifndef _ENDIAN_H_ diff --git a/headers/posix/errno.h b/headers/posix/errno.h index 99d23e5707..e124f0ea89 100644 --- a/headers/posix/errno.h +++ b/headers/posix/errno.h @@ -1,10 +1,11 @@ /* - * errno.h + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. */ - #ifndef _POSIX_ERRNO_H #define _POSIX_ERRNO_H + #ifdef __cplusplus extern "C" { diff --git a/headers/posix/fcntl.h b/headers/posix/fcntl.h index 2b8d23c39e..a5561b3cd9 100644 --- a/headers/posix/fcntl.h +++ b/headers/posix/fcntl.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _FCNTL_H diff --git a/headers/posix/getopt.h b/headers/posix/getopt.h index df8a3651e4..c39556bdd0 100644 --- a/headers/posix/getopt.h +++ b/headers/posix/getopt.h @@ -1,6 +1,7 @@ -/* -** Distributed under the terms of the Haiku License. -*/ +/* + * Copyright 2004-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _GETOPT_H #define _GETOPT_H diff --git a/headers/posix/grp.h b/headers/posix/grp.h index f64a92dc70..7be9cca96f 100644 --- a/headers/posix/grp.h +++ b/headers/posix/grp.h @@ -1,5 +1,5 @@ /* - * Copyright 2004-2008, Haiku Inc. All Rights Reserved. + * Copyright 2004-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _GRP_H_ diff --git a/headers/posix/inttypes.h b/headers/posix/inttypes.h index 04add0a6da..5f24eda435 100644 --- a/headers/posix/inttypes.h +++ b/headers/posix/inttypes.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 Haiku, Inc. All rights reserved. + * Copyright 2002-2010 Haiku Inc. All rights reserved. * Distributed under the terms of the MIT License. */ #ifndef _INTTYPES_H_ diff --git a/headers/posix/iovec.h b/headers/posix/iovec.h index 3e2ceaa8f5..ec10f21acd 100644 --- a/headers/posix/iovec.h +++ b/headers/posix/iovec.h @@ -1,10 +1,11 @@ /* - * Copyright 2008 Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _IOVEC_H #define _IOVEC_H + #include #endif diff --git a/headers/posix/langinfo.h b/headers/posix/langinfo.h index 0dbfbfce69..482f5ebc5e 100644 --- a/headers/posix/langinfo.h +++ b/headers/posix/langinfo.h @@ -1,5 +1,5 @@ /* - * Copyright 2010, Haiku Inc. All Rights Reserved. + * Copyright 2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _LANGINFO_H_ diff --git a/headers/posix/libgen.h b/headers/posix/libgen.h index 3f392e8f96..a89bf98678 100644 --- a/headers/posix/libgen.h +++ b/headers/posix/libgen.h @@ -1,10 +1,11 @@ /* - * Copyright 2009, Haiku Inc. All Rights Reserved. + * Copyright 2009-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _LIBGEN_H #define _LIBGEN_H + #include __BEGIN_DECLS diff --git a/headers/posix/limits.h b/headers/posix/limits.h index ce1dda8489..5c69bc9240 100644 --- a/headers/posix/limits.h +++ b/headers/posix/limits.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2010 Haiku, Inc. All rights reserved. + * Copyright 2001-2010 Haiku Inc. All rights reserved. * Distributed under the terms of the MIT License. */ #ifndef _LIBC_LIMITS_H_ diff --git a/headers/posix/locale.h b/headers/posix/locale.h index f18784e8df..624c717844 100644 --- a/headers/posix/locale.h +++ b/headers/posix/locale.h @@ -1,8 +1,10 @@ +/* + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _LOCALE_H_ #define _LOCALE_H_ -/* -** Distributed under the terms of the OpenBeOS License. -*/ + #include diff --git a/headers/posix/malloc.h b/headers/posix/malloc.h index 4c55fde297..c5cc068e95 100644 --- a/headers/posix/malloc.h +++ b/headers/posix/malloc.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2006, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _MALLOC_H diff --git a/headers/posix/malloc_debug.h b/headers/posix/malloc_debug.h index 7267931a7f..1bfe75a809 100644 --- a/headers/posix/malloc_debug.h +++ b/headers/posix/malloc_debug.h @@ -1,10 +1,11 @@ /* - * Copyright 2010, Haiku Inc. All Rights Reserved. + * Copyright 2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef MALLOC_DEBUG_H #define MALLOC_DEBUG_H + #include #ifdef __cplusplus diff --git a/headers/posix/math.h b/headers/posix/math.h index c7d7741842..f5f4716b98 100644 --- a/headers/posix/math.h +++ b/headers/posix/math.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2009, Haiku. + * Copyright 2001-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _MATH_H_ diff --git a/headers/posix/memory.h b/headers/posix/memory.h index 52a4fa9a7e..f218fba642 100644 --- a/headers/posix/memory.h +++ b/headers/posix/memory.h @@ -1,2 +1,8 @@ -#include +/* + * Copyright 2005-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ + + + #include diff --git a/headers/posix/monetary.h b/headers/posix/monetary.h index 0576481642..a2877576d4 100644 --- a/headers/posix/monetary.h +++ b/headers/posix/monetary.h @@ -1,5 +1,5 @@ /* - * Copyright 2010, Haiku Inc. All Rights Reserved. + * Copyright 2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _MONETARY_H_ diff --git a/headers/posix/net/if.h b/headers/posix/net/if.h index 85ce14c222..7b6380340a 100644 --- a/headers/posix/net/if.h +++ b/headers/posix/net/if.h @@ -1,5 +1,5 @@ /* - * Copyright 2006-2010, Haiku, Inc. All Rights Reserved. + * Copyright 2006-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _NET_IF_H diff --git a/headers/posix/net/if_dl.h b/headers/posix/net/if_dl.h index b6aab185f6..50bb72250a 100644 --- a/headers/posix/net/if_dl.h +++ b/headers/posix/net/if_dl.h @@ -1,5 +1,5 @@ /* - * Copyright 2006-2007, Haiku, Inc. All Rights Reserved. + * Copyright 2006-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _NET_IF_DL_H diff --git a/headers/posix/net/if_media.h b/headers/posix/net/if_media.h index 52635475e0..dc08d0107f 100644 --- a/headers/posix/net/if_media.h +++ b/headers/posix/net/if_media.h @@ -1,5 +1,5 @@ /* - * Copyright 2007, Haiku, Inc. All Rights Reserved. + * Copyright 2007-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _NET_IF_MEDIA_H diff --git a/headers/posix/net/if_types.h b/headers/posix/net/if_types.h index 0d5cf7f2e8..f954c33048 100644 --- a/headers/posix/net/if_types.h +++ b/headers/posix/net/if_types.h @@ -1,10 +1,11 @@ /* - * Copyright 2006, Haiku, Inc. All Rights Reserved. + * Copyright 2006-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _NET_IF_TYPES_H #define _NET_IF_TYPES_H + #define IFT_OTHER 0x01 #define IFT_ETHER 0x06 #define IFT_PPP 0x17 diff --git a/headers/posix/net/route.h b/headers/posix/net/route.h index f164359b61..4e021fd620 100644 --- a/headers/posix/net/route.h +++ b/headers/posix/net/route.h @@ -1,5 +1,5 @@ /* - * Copyright 2006-2007, Haiku, Inc. All Rights Reserved. + * Copyright 2006-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _NET_ROUTE_H diff --git a/headers/posix/netdb.h b/headers/posix/netdb.h index 173ebe1ae0..d29eceed06 100644 --- a/headers/posix/netdb.h +++ b/headers/posix/netdb.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2009, Haiku, Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ diff --git a/headers/posix/netinet/in.h b/headers/posix/netinet/in.h index 43983f24d1..c729b738d2 100644 --- a/headers/posix/netinet/in.h +++ b/headers/posix/netinet/in.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010, Haiku, Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _NETINET_IN_H_ diff --git a/headers/posix/netinet/tcp.h b/headers/posix/netinet/tcp.h index ec2a999d1b..4d3124653a 100644 --- a/headers/posix/netinet/tcp.h +++ b/headers/posix/netinet/tcp.h @@ -1,5 +1,5 @@ /* - * Copyright 2006, Haiku Inc. All Rights Reserved. + * Copyright 2006-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef NETINET_TCP_H diff --git a/headers/posix/netinet6/in6.h b/headers/posix/netinet6/in6.h index 01eed25130..1898617d66 100644 --- a/headers/posix/netinet6/in6.h +++ b/headers/posix/netinet6/in6.h @@ -1,5 +1,5 @@ /* - * Copyright 2006-2010, Haiku Inc. All Rights Reserved. + * Copyright 2006-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _NETINET6_IN6_H_ diff --git a/headers/posix/nl_types.h b/headers/posix/nl_types.h index f62b93a082..6a91f93fbc 100644 --- a/headers/posix/nl_types.h +++ b/headers/posix/nl_types.h @@ -1,5 +1,5 @@ /* - * Copyright 2010, Haiku Inc. All Rights Reserved. + * Copyright 2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _NL_TYPES_H_ diff --git a/headers/posix/poll.h b/headers/posix/poll.h index 0d70f9655b..3580699c4d 100644 --- a/headers/posix/poll.h +++ b/headers/posix/poll.h @@ -1,8 +1,10 @@ +/* + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _POLL_H #define _POLL_H -/* -** Distributed under the terms of the OpenBeOS License. -*/ + typedef unsigned long nfds_t; diff --git a/headers/posix/pthread.h b/headers/posix/pthread.h index 0961b06191..3004de2f34 100644 --- a/headers/posix/pthread.h +++ b/headers/posix/pthread.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2008, Haiku Inc. All Rights Reserved. + * Copyright 2001-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the Haiku License. */ #ifndef _PTHREAD_H_ diff --git a/headers/posix/pwd.h b/headers/posix/pwd.h index 4cb10121f3..ea5b604ec6 100644 --- a/headers/posix/pwd.h +++ b/headers/posix/pwd.h @@ -1,8 +1,10 @@ +/* + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _PWD_H_ #define _PWD_H_ -/* -** Distributed under the terms of the OpenBeOS License. -*/ + #include diff --git a/headers/posix/resolv.h b/headers/posix/resolv.h index ffe8ec5f79..e4885312b1 100644 --- a/headers/posix/resolv.h +++ b/headers/posix/resolv.h @@ -1,5 +1,5 @@ /* - * Copyright 2009, Haiku, Inc. All Rights Reserved. + * Copyright 2009-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ diff --git a/headers/posix/sched.h b/headers/posix/sched.h index b22f28d9c4..543c2a3523 100644 --- a/headers/posix/sched.h +++ b/headers/posix/sched.h @@ -1,5 +1,5 @@ /* - * Copyright 2008-2009, Haiku Inc. All rights reserved. + * Copyright 2008-2010 Haiku Inc. All rights reserved. * Distributed under the terms of the MIT license. */ #ifndef _SCHED_H_ diff --git a/headers/posix/search.h b/headers/posix/search.h index 2b286e34eb..8892c9b4fd 100644 --- a/headers/posix/search.h +++ b/headers/posix/search.h @@ -1,5 +1,5 @@ /* - * Copyright 2008, Haiku, Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SEARCH_H_ diff --git a/headers/posix/semaphore.h b/headers/posix/semaphore.h index 223fadfdea..8d6708f360 100644 --- a/headers/posix/semaphore.h +++ b/headers/posix/semaphore.h @@ -1,10 +1,11 @@ /* - * Copyright 2008, Haiku, Inc. + * Copyright 2008-2010 Haiku Inc. * Distributed under the terms of the MIT License. */ #ifndef _SEMAPHORE_H_ #define _SEMAPHORE_H_ + #include #include #include diff --git a/headers/posix/setjmp.h b/headers/posix/setjmp.h index e85d372508..cbae76b37a 100644 --- a/headers/posix/setjmp.h +++ b/headers/posix/setjmp.h @@ -1,5 +1,5 @@ /* - * Copyright 2004-2009, Haiku, Inc. + * Copyright 2004-2010 Haiku Inc. * Distributed under the terms of the MIT License. */ #ifndef _SETJMP_H_ diff --git a/headers/posix/shadow.h b/headers/posix/shadow.h index fede78d786..1866be6a06 100644 --- a/headers/posix/shadow.h +++ b/headers/posix/shadow.h @@ -1,10 +1,11 @@ /* - * Copyright 2008, Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SHADOW_H_ #define _SHADOW_H_ + #include #include diff --git a/headers/posix/signal.h b/headers/posix/signal.h index e6c702fef7..ab3cdb0cdc 100644 --- a/headers/posix/signal.h +++ b/headers/posix/signal.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2009, Haiku, Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SIGNAL_H_ diff --git a/headers/posix/size_t.h b/headers/posix/size_t.h index 4592b897c1..aaf4bc0cb3 100644 --- a/headers/posix/size_t.h +++ b/headers/posix/size_t.h @@ -1,5 +1,5 @@ /* - * Copyright 2008-2010, Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SIZE_T_H_ diff --git a/headers/posix/stdint.h b/headers/posix/stdint.h index abac2dcb2d..37c5e67bd4 100644 --- a/headers/posix/stdint.h +++ b/headers/posix/stdint.h @@ -1,5 +1,5 @@ /* - * Copyright 2003-2009, Haiku Inc. All Rights Reserved. + * Copyright 2003-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _STDINT_H_ diff --git a/headers/posix/stdio.h b/headers/posix/stdio.h index 0188f87d0f..7d744d5f2a 100644 --- a/headers/posix/stdio.h +++ b/headers/posix/stdio.h @@ -1,5 +1,5 @@ /* - * Copyright 2004-2010, Haiku Inc. All Rights Reserved. + * Copyright 2004-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _STDIO_H_ diff --git a/headers/posix/stdio_ext.h b/headers/posix/stdio_ext.h index 76cbe04e23..95d533da0a 100644 --- a/headers/posix/stdio_ext.h +++ b/headers/posix/stdio_ext.h @@ -1,10 +1,11 @@ /* - * Copyright 2008, Haiku Inc. All Rights Reserved. - * Distributed under the terms of the MIT/X11 License. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. */ #ifndef _STDIO_EXT_H_ #define _STDIO_EXT_H_ + #include #ifdef __cplusplus diff --git a/headers/posix/stdio_post.h b/headers/posix/stdio_post.h index 8ce3b2b518..83662d8cdf 100644 --- a/headers/posix/stdio_post.h +++ b/headers/posix/stdio_post.h @@ -1,9 +1,11 @@ -/* -** Distributed under the terms of the Haiku License. -*/ +/* + * Copyright 2003-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _STDIO_POST_H_ #define _STDIO_POST_H_ + /* "Private"/inline functions of our BeOS compatible stdio implementation */ /* ToDo: this is a work in progress to make our stdio diff --git a/headers/posix/stdio_pre.h b/headers/posix/stdio_pre.h index c63e53f4bc..5e973422aa 100644 --- a/headers/posix/stdio_pre.h +++ b/headers/posix/stdio_pre.h @@ -1,9 +1,11 @@ -/* -** Distributed under the terms of the OpenBeOS License. -*/ +/* + * Copyright 2003-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _STDIO_PRE_H_ #define _STDIO_PRE_H_ + #ifndef _STDIO_H_ # error "This file must be included from stdio.h!" #endif diff --git a/headers/posix/stdlib.h b/headers/posix/stdlib.h index 97be26ed38..58b37036fa 100644 --- a/headers/posix/stdlib.h +++ b/headers/posix/stdlib.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _STDLIB_H_ diff --git a/headers/posix/string.h b/headers/posix/string.h index f7a13a2f92..81992c019f 100644 --- a/headers/posix/string.h +++ b/headers/posix/string.h @@ -1,5 +1,5 @@ /* - * Copyright 2004-2009, Haiku Inc. All Rights Reserved. + * Copyright 2004-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _STRING_H_ diff --git a/headers/posix/sys/file.h b/headers/posix/sys/file.h index 0d2bada767..01839a6236 100644 --- a/headers/posix/sys/file.h +++ b/headers/posix/sys/file.h @@ -1,5 +1,5 @@ /* - * Copyright 2008, Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_FILE_H diff --git a/headers/posix/sys/ioctl.h b/headers/posix/sys/ioctl.h index f8e5e87daa..ee32b3c718 100644 --- a/headers/posix/sys/ioctl.h +++ b/headers/posix/sys/ioctl.h @@ -1,10 +1,11 @@ /* - * Copyright 2006, Haiku Inc. All Rights Reserved. + * Copyright 2006-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_IOCTL_H #define _SYS_IOCTL_H + #include /* These only work on sockets for now */ diff --git a/headers/posix/sys/ipc.h b/headers/posix/sys/ipc.h index d07e66ed94..2b2cbff93a 100644 --- a/headers/posix/sys/ipc.h +++ b/headers/posix/sys/ipc.h @@ -1,5 +1,5 @@ /* - * Copyright 2008, Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_IPC_H diff --git a/headers/posix/sys/mman.h b/headers/posix/sys/mman.h index 479474811c..c5f9f2ce40 100644 --- a/headers/posix/sys/mman.h +++ b/headers/posix/sys/mman.h @@ -1,10 +1,11 @@ /* - * Copyright 2008, Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_MMAN_H #define _SYS_MMAN_H + #include #include diff --git a/headers/posix/sys/msg.h b/headers/posix/sys/msg.h index 219d41c887..9d5256d9a6 100644 --- a/headers/posix/sys/msg.h +++ b/headers/posix/sys/msg.h @@ -1,5 +1,5 @@ /* - * Copyright 2008-2009, Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_MSG_H diff --git a/headers/posix/sys/param.h b/headers/posix/sys/param.h index 4571f309fe..e28f0239cb 100644 --- a/headers/posix/sys/param.h +++ b/headers/posix/sys/param.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2007, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_PARAM_H diff --git a/headers/posix/sys/poll.h b/headers/posix/sys/poll.h index c727ab04de..529cd331a8 100644 --- a/headers/posix/sys/poll.h +++ b/headers/posix/sys/poll.h @@ -1,5 +1,5 @@ /* - * Copyright 2008, Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_POLL_H diff --git a/headers/posix/sys/resource.h b/headers/posix/sys/resource.h index 034fac6e10..66e4c2d597 100644 --- a/headers/posix/sys/resource.h +++ b/headers/posix/sys/resource.h @@ -1,5 +1,5 @@ /* - * Copyright 2003-2008, Haiku Inc. All Rights Reserved. + * Copyright 2003-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_RESOURCE_H diff --git a/headers/posix/sys/select.h b/headers/posix/sys/select.h index 587f7e062e..4a99504312 100644 --- a/headers/posix/sys/select.h +++ b/headers/posix/sys/select.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2009, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_SELECT_H diff --git a/headers/posix/sys/sem.h b/headers/posix/sys/sem.h index 9dc7682e1b..0a80354655 100644 --- a/headers/posix/sys/sem.h +++ b/headers/posix/sys/sem.h @@ -1,10 +1,11 @@ /* - * Copyright 2008, Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_SEM_H #define _SYS_SEM_H + #include #include #include diff --git a/headers/posix/sys/socket.h b/headers/posix/sys/socket.h index e3642099cd..1962acea96 100644 --- a/headers/posix/sys/socket.h +++ b/headers/posix/sys/socket.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2009, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_SOCKET_H diff --git a/headers/posix/sys/sockio.h b/headers/posix/sys/sockio.h index de463d11b2..666f05fa76 100644 --- a/headers/posix/sys/sockio.h +++ b/headers/posix/sys/sockio.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_SOCKIO_H diff --git a/headers/posix/sys/stat.h b/headers/posix/sys/stat.h index 054236f0ef..90a10d0d38 100644 --- a/headers/posix/sys/stat.h +++ b/headers/posix/sys/stat.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2009, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_STAT_H_ diff --git a/headers/posix/sys/statvfs.h b/headers/posix/sys/statvfs.h index 01fced69dc..916f06083a 100644 --- a/headers/posix/sys/statvfs.h +++ b/headers/posix/sys/statvfs.h @@ -1,5 +1,5 @@ /* - * Copyright 2005-2010, Haiku, Inc. All Rights Reserved. + * Copyright 2005-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _STAT_VFS_H_ diff --git a/headers/posix/sys/time.h b/headers/posix/sys/time.h index 02f46a0e94..e8606791fc 100644 --- a/headers/posix/sys/time.h +++ b/headers/posix/sys/time.h @@ -1,8 +1,9 @@ +/* + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _SYS_TIME_H #define _SYS_TIME_H -/* -** Distributed under the terms of the OpenBeOS License. -*/ #include diff --git a/headers/posix/sys/timeb.h b/headers/posix/sys/timeb.h index d040b460b4..c338d45d49 100644 --- a/headers/posix/sys/timeb.h +++ b/headers/posix/sys/timeb.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2006, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_TIMEB_H diff --git a/headers/posix/sys/times.h b/headers/posix/sys/times.h index 156456e29d..296e814900 100644 --- a/headers/posix/sys/times.h +++ b/headers/posix/sys/times.h @@ -1,8 +1,9 @@ +/* + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _SYS_TIMES_H #define _SYS_TIMES_H -/* -** Distributed under the terms of the OpenBeOS License. -*/ #include diff --git a/headers/posix/sys/types.h b/headers/posix/sys/types.h index 223cd75d32..d5ad169443 100644 --- a/headers/posix/sys/types.h +++ b/headers/posix/sys/types.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_TYPES_H diff --git a/headers/posix/sys/uio.h b/headers/posix/sys/uio.h index 93dfe47651..ea23c1513b 100644 --- a/headers/posix/sys/uio.h +++ b/headers/posix/sys/uio.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2006, Haiku Inc. All Rights Reserved. + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_UIO_H diff --git a/headers/posix/sys/un.h b/headers/posix/sys/un.h index 55fcf7b2df..4f55ea4a4a 100644 --- a/headers/posix/sys/un.h +++ b/headers/posix/sys/un.h @@ -1,5 +1,5 @@ /* - * Copyright 2006, Haiku Inc. All Rights Reserved. + * Copyright 2006-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_UN_H diff --git a/headers/posix/sys/utsname.h b/headers/posix/sys/utsname.h index b6f46f8ab3..43fd413871 100644 --- a/headers/posix/sys/utsname.h +++ b/headers/posix/sys/utsname.h @@ -1,5 +1,5 @@ /* - * Copyright 2004-2005, Haiku Inc. All Rights Reserved. + * Copyright 2004-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYS_UTSNAME_H diff --git a/headers/posix/sys/wait.h b/headers/posix/sys/wait.h index e6b75775af..7c9c09503c 100644 --- a/headers/posix/sys/wait.h +++ b/headers/posix/sys/wait.h @@ -1,8 +1,9 @@ +/* + * Copyright 2004-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _SYS_WAIT_H #define _SYS_WAIT_H -/* -** Distributed under the terms of the OpenBeOS License. -*/ #include diff --git a/headers/posix/syslog.h b/headers/posix/syslog.h index bb411d1634..aae1ad8d8c 100644 --- a/headers/posix/syslog.h +++ b/headers/posix/syslog.h @@ -1,5 +1,5 @@ /* - * Copyright 2003-2008, Haiku Inc. All Rights Reserved. + * Copyright 2003-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _SYSLOG_H_ diff --git a/headers/posix/termios.h b/headers/posix/termios.h index d3073759c5..5ff46290a5 100644 --- a/headers/posix/termios.h +++ b/headers/posix/termios.h @@ -1,5 +1,5 @@ /* - * Copyright 2004-2009, Haiku Inc. All Rights Reserved. + * Copyright 2004-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _TERMIOS_H_ diff --git a/headers/posix/time.h b/headers/posix/time.h index bb963e86de..af1ca5757e 100644 --- a/headers/posix/time.h +++ b/headers/posix/time.h @@ -1,5 +1,5 @@ /* - * Copyright 2005-2006, Haiku Inc. All Rights Reserved. + * Copyright 2005-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _TIME_H_ diff --git a/headers/posix/unistd.h b/headers/posix/unistd.h index a68df0f4bb..e9de223637 100644 --- a/headers/posix/unistd.h +++ b/headers/posix/unistd.h @@ -1,5 +1,5 @@ /* - * Copyright 2004-2009, Haiku Inc. All Rights Reserved. + * Copyright 2004-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _UNISTD_H_ diff --git a/headers/posix/utime.h b/headers/posix/utime.h index e9bb1673b8..b29d46191b 100644 --- a/headers/posix/utime.h +++ b/headers/posix/utime.h @@ -1,8 +1,9 @@ +/* + * Copyright 2002-2010 Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _UTIME_H_ #define _UTIME_H_ -/* -** Distributed under the terms of the OpenBeOS License. -*/ #include diff --git a/headers/posix/wchar_t.h b/headers/posix/wchar_t.h index a0b06afdb1..a0b412335a 100644 --- a/headers/posix/wchar_t.h +++ b/headers/posix/wchar_t.h @@ -1,7 +1,8 @@ /* - * Copyright 2008, Haiku Inc. All Rights Reserved. + * Copyright 2008-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ + /* Include GCC's stddef.h. It defines wchar_t. */ #include diff --git a/headers/posix/wctype.h b/headers/posix/wctype.h index 9ae5828753..c63b716308 100644 --- a/headers/posix/wctype.h +++ b/headers/posix/wctype.h @@ -1,5 +1,5 @@ /* - * Copyright 2005, Haiku Inc. All Rights Reserved. + * Copyright 2005-2010 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _WCTYPE_H_