Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines.

Cleaned up some header style violations, making sure there are two blank lines after the header guards.
This fixes the posix header part of #2191.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Scott McCreary
2010-11-03 21:46:47 +00:00
parent 2281340d02
commit 0fae873352
95 changed files with 178 additions and 122 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
/*
* Copyright 2003-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _ALLOCA_H #ifndef _ALLOCA_H
#define _ALLOCA_H #define _ALLOCA_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <sys/types.h> #include <sys/types.h>
+2 -1
View File
@@ -1,10 +1,11 @@
/* /*
* Copyright 2008, Haiku, Inc. * Copyright 2008-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SETJMP_H_ #ifndef _ARCH_SETJMP_H_
#define _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_
#define _SETJMP_BUF_SZ ((15+2)*4) #define _SETJMP_BUF_SZ ((15+2)*4)
typedef int __jmp_buf[_SETJMP_BUF_SZ]; typedef int __jmp_buf[_SETJMP_BUF_SZ];
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SIGNAL_H_ #ifndef _ARCH_SIGNAL_H_
#define _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_
/* /*
* Architecture-specific structure passed to signal handlers * Architecture-specific structure passed to signal handlers
*/ */
+2 -1
View File
@@ -1,10 +1,11 @@
/* /*
* Copyright 2007, Haiku, Inc. * Copyright 2007-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SETJMP_H_ #ifndef _ARCH_SETJMP_H_
#define _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_
#define _SETJMP_BUF_SZ (7+6+2+8*((96/8)/4)) #define _SETJMP_BUF_SZ (7+6+2+8*((96/8)/4))
typedef int __jmp_buf[_SETJMP_BUF_SZ]; typedef int __jmp_buf[_SETJMP_BUF_SZ];
#warning M68K: fix jmpbuf size #warning M68K: fix jmpbuf size
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SIGNAL_H_ #ifndef _ARCH_SIGNAL_H_
#define _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_
/* /*
* Architecture-specific structure passed to signal handlers * Architecture-specific structure passed to signal handlers
*/ */
+2 -1
View File
@@ -1,10 +1,11 @@
/* /*
* Copyright 2008, Haiku, Inc. * Copyright 2008-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SETJMP_H_ #ifndef _ARCH_SETJMP_H_
#define _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_
typedef int __jmp_buf[42]; typedef int __jmp_buf[42];
#warning MIPSEL: fix jmpbuf size #warning MIPSEL: fix jmpbuf size
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SIGNAL_H_ #ifndef _ARCH_SIGNAL_H_
#define _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_
/* /*
* Architecture-specific structure passed to signal handlers * Architecture-specific structure passed to signal handlers
*/ */
+2 -1
View File
@@ -1,10 +1,11 @@
/* /*
* Copyright 2005, Haiku, Inc. * Copyright 2005-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SETJMP_H_ #ifndef _ARCH_SETJMP_H_
#define _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_
typedef int __jmp_buf[23]; typedef int __jmp_buf[23];
#endif /* _ARCH_SETJMP_H_ */ #endif /* _ARCH_SETJMP_H_ */
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SIGNAL_H_ #ifndef _ARCH_SIGNAL_H_
#define _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_
/* /*
* Architecture-specific structure passed to signal handlers * Architecture-specific structure passed to signal handlers
*/ */
+2 -1
View File
@@ -1,10 +1,11 @@
/* /*
* Copyright 2005, Haiku, Inc. * Copyright 2005-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SETJMP_H_ #ifndef _ARCH_SETJMP_H_
#define _ARCH_SETJMP_H_ #define _ARCH_SETJMP_H_
typedef int __jmp_buf[6]; typedef int __jmp_buf[6];
#endif /* _ARCH_SETJMP_H_ */ #endif /* _ARCH_SETJMP_H_ */
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SIGNAL_H_ #ifndef _ARCH_SIGNAL_H_
#define _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_
/* /*
* Architecture-specific structure passed to signal handlers * Architecture-specific structure passed to signal handlers
*/ */
+2 -1
View File
@@ -1,10 +1,11 @@
/* /*
* Copyright 2005, Haiku, Inc. * Copyright 2005-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SETJMP_H_ #ifndef _ARCH_SETJMP_H_
#define _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. */ /* TODO: A jmp_buf size of 12 might not be large enough. Increase to a large size if needed. */
typedef int __jmp_buf[12]; typedef int __jmp_buf[12];
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ARCH_SIGNAL_H_ #ifndef _ARCH_SIGNAL_H_
#define _ARCH_SIGNAL_H_ #define _ARCH_SIGNAL_H_
/* /*
* Architecture-specific structure passed to signal handlers * Architecture-specific structure passed to signal handlers
*/ */
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _INET_H_ #ifndef _INET_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
+5 -3
View File
@@ -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_ #ifndef _ASSERT_H_
#define _ASSERT_H_ #define _ASSERT_H_
#undef assert #undef assert
#ifndef NDEBUG #ifndef NDEBUG
+5
View File
@@ -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 Make life easier for those porting old Berkeley style
code... code...
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _COMPAT_SYS_STAT_H_ #ifndef _COMPAT_SYS_STAT_H_
+5 -3
View File
@@ -1,8 +1,10 @@
/*
* Copyright 2003-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _CTYPE_H #ifndef _CTYPE_H
#define _CTYPE_H #define _CTYPE_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _DIRENT_H #ifndef _DIRENT_H
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _DIV_T_H_ #ifndef _DIV_T_H_
#define _DIV_T_H_ #define _DIV_T_H_
typedef struct { typedef struct {
int quot; int quot;
int rem; int rem;
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _DLFCN_H #ifndef _DLFCN_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _ENDIAN_H_ #ifndef _ENDIAN_H_
+3 -2
View File
@@ -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 #ifndef _POSIX_ERRNO_H
#define _POSIX_ERRNO_H #define _POSIX_ERRNO_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _FCNTL_H #ifndef _FCNTL_H
+4 -3
View File
@@ -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 #ifndef _GETOPT_H
#define _GETOPT_H #define _GETOPT_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _GRP_H_ #ifndef _GRP_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _INTTYPES_H_ #ifndef _INTTYPES_H_
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _IOVEC_H #ifndef _IOVEC_H
#define _IOVEC_H #define _IOVEC_H
#include <sys/uio.h> #include <sys/uio.h>
#endif #endif
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _LANGINFO_H_ #ifndef _LANGINFO_H_
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _LIBGEN_H #ifndef _LIBGEN_H
#define _LIBGEN_H #define _LIBGEN_H
#include <sys/cdefs.h> #include <sys/cdefs.h>
__BEGIN_DECLS __BEGIN_DECLS
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _LIBC_LIMITS_H_ #ifndef _LIBC_LIMITS_H_
+5 -3
View File
@@ -1,8 +1,10 @@
/*
* Copyright 2002-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _LOCALE_H_ #ifndef _LOCALE_H_
#define _LOCALE_H_ #define _LOCALE_H_
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <null.h> #include <null.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _MALLOC_H #ifndef _MALLOC_H
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef MALLOC_DEBUG_H #ifndef MALLOC_DEBUG_H
#define MALLOC_DEBUG_H #define MALLOC_DEBUG_H
#include <OS.h> #include <OS.h>
#ifdef __cplusplus #ifdef __cplusplus
+1 -1
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright 2001-2009, Haiku. * Copyright 2001-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _MATH_H_ #ifndef _MATH_H_
+7 -1
View File
@@ -1,2 +1,8 @@
#include <string.h> /*
* Copyright 2005-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#include <string.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _MONETARY_H_ #ifndef _MONETARY_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _NET_IF_H #ifndef _NET_IF_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _NET_IF_DL_H #ifndef _NET_IF_DL_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _NET_IF_MEDIA_H #ifndef _NET_IF_MEDIA_H
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _NET_IF_TYPES_H #ifndef _NET_IF_TYPES_H
#define _NET_IF_TYPES_H #define _NET_IF_TYPES_H
#define IFT_OTHER 0x01 #define IFT_OTHER 0x01
#define IFT_ETHER 0x06 #define IFT_ETHER 0x06
#define IFT_PPP 0x17 #define IFT_PPP 0x17
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _NET_ROUTE_H #ifndef _NET_ROUTE_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _NETINET_IN_H_ #ifndef _NETINET_IN_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef NETINET_TCP_H #ifndef NETINET_TCP_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _NETINET6_IN6_H_ #ifndef _NETINET6_IN6_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _NL_TYPES_H_ #ifndef _NL_TYPES_H_
+5 -3
View File
@@ -1,8 +1,10 @@
/*
* Copyright 2002-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _POLL_H #ifndef _POLL_H
#define _POLL_H #define _POLL_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
typedef unsigned long nfds_t; typedef unsigned long nfds_t;
+1 -1
View File
@@ -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. * Distributed under the terms of the Haiku License.
*/ */
#ifndef _PTHREAD_H_ #ifndef _PTHREAD_H_
+5 -3
View File
@@ -1,8 +1,10 @@
/*
* Copyright 2002-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _PWD_H_ #ifndef _PWD_H_
#define _PWD_H_ #define _PWD_H_
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <sys/types.h> #include <sys/types.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT license.
*/ */
#ifndef _SCHED_H_ #ifndef _SCHED_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SEARCH_H_ #ifndef _SEARCH_H_
+2 -1
View File
@@ -1,10 +1,11 @@
/* /*
* Copyright 2008, Haiku, Inc. * Copyright 2008-2010 Haiku Inc.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SEMAPHORE_H_ #ifndef _SEMAPHORE_H_
#define _SEMAPHORE_H_ #define _SEMAPHORE_H_
#include <fcntl.h> #include <fcntl.h>
#include <stdint.h> #include <stdint.h>
#include <sys/cdefs.h> #include <sys/cdefs.h>
+1 -1
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright 2004-2009, Haiku, Inc. * Copyright 2004-2010 Haiku Inc.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SETJMP_H_ #ifndef _SETJMP_H_
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SHADOW_H_ #ifndef _SHADOW_H_
#define _SHADOW_H_ #define _SHADOW_H_
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SIGNAL_H_ #ifndef _SIGNAL_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SIZE_T_H_ #ifndef _SIZE_T_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _STDINT_H_ #ifndef _STDINT_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _STDIO_H_ #ifndef _STDIO_H_
+3 -2
View File
@@ -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/X11 License. * Distributed under the terms of the MIT License.
*/ */
#ifndef _STDIO_EXT_H_ #ifndef _STDIO_EXT_H_
#define _STDIO_EXT_H_ #define _STDIO_EXT_H_
#include <stdio.h> #include <stdio.h>
#ifdef __cplusplus #ifdef __cplusplus
+5 -3
View File
@@ -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_ #ifndef _STDIO_POST_H_
#define _STDIO_POST_H_ #define _STDIO_POST_H_
/* "Private"/inline functions of our BeOS compatible stdio implementation */ /* "Private"/inline functions of our BeOS compatible stdio implementation */
/* ToDo: this is a work in progress to make our stdio /* ToDo: this is a work in progress to make our stdio
+5 -3
View File
@@ -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_ #ifndef _STDIO_PRE_H_
#define _STDIO_PRE_H_ #define _STDIO_PRE_H_
#ifndef _STDIO_H_ #ifndef _STDIO_H_
# error "This file must be included from stdio.h!" # error "This file must be included from stdio.h!"
#endif #endif
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _STDLIB_H_ #ifndef _STDLIB_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _STRING_H_ #ifndef _STRING_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_FILE_H #ifndef _SYS_FILE_H
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_IOCTL_H #ifndef _SYS_IOCTL_H
#define _SYS_IOCTL_H #define _SYS_IOCTL_H
#include <termios.h> #include <termios.h>
/* These only work on sockets for now */ /* These only work on sockets for now */
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_IPC_H #ifndef _SYS_IPC_H
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_MMAN_H #ifndef _SYS_MMAN_H
#define _SYS_MMAN_H #define _SYS_MMAN_H
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <sys/types.h> #include <sys/types.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_MSG_H #ifndef _SYS_MSG_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_PARAM_H #ifndef _SYS_PARAM_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_POLL_H #ifndef _SYS_POLL_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_RESOURCE_H #ifndef _SYS_RESOURCE_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_SELECT_H #ifndef _SYS_SELECT_H
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_SEM_H #ifndef _SYS_SEM_H
#define _SYS_SEM_H #define _SYS_SEM_H
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <sys/ipc.h> #include <sys/ipc.h>
#include <sys/types.h> #include <sys/types.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_SOCKET_H #ifndef _SYS_SOCKET_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_SOCKIO_H #ifndef _SYS_SOCKIO_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_STAT_H_ #ifndef _SYS_STAT_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _STAT_VFS_H_ #ifndef _STAT_VFS_H_
+4 -3
View File
@@ -1,8 +1,9 @@
/*
* Copyright 2002-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _SYS_TIME_H #ifndef _SYS_TIME_H
#define _SYS_TIME_H #define _SYS_TIME_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <sys/types.h> #include <sys/types.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_TIMEB_H #ifndef _SYS_TIMEB_H
+4 -3
View File
@@ -1,8 +1,9 @@
/*
* Copyright 2002-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _SYS_TIMES_H #ifndef _SYS_TIMES_H
#define _SYS_TIMES_H #define _SYS_TIMES_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <time.h> #include <time.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_TYPES_H #ifndef _SYS_TYPES_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_UIO_H #ifndef _SYS_UIO_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_UN_H #ifndef _SYS_UN_H
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYS_UTSNAME_H #ifndef _SYS_UTSNAME_H
+4 -3
View File
@@ -1,8 +1,9 @@
/*
* Copyright 2004-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _SYS_WAIT_H #ifndef _SYS_WAIT_H
#define _SYS_WAIT_H #define _SYS_WAIT_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <sys/types.h> #include <sys/types.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _SYSLOG_H_ #ifndef _SYSLOG_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _TERMIOS_H_ #ifndef _TERMIOS_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _TIME_H_ #ifndef _TIME_H_
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _UNISTD_H_ #ifndef _UNISTD_H_
+4 -3
View File
@@ -1,8 +1,9 @@
/*
* Copyright 2002-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _UTIME_H_ #ifndef _UTIME_H_
#define _UTIME_H_ #define _UTIME_H_
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <sys/types.h> #include <sys/types.h>
+2 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
/* Include GCC's stddef.h. It defines wchar_t. */ /* Include GCC's stddef.h. It defines wchar_t. */
#include <stddef.h> #include <stddef.h>
+1 -1
View File
@@ -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. * Distributed under the terms of the MIT License.
*/ */
#ifndef _WCTYPE_H_ #ifndef _WCTYPE_H_