summaryrefslogtreecommitdiff
path: root/StdLib/LibC/Stdio/fdopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'StdLib/LibC/Stdio/fdopen.c')
-rw-r--r--StdLib/LibC/Stdio/fdopen.c26
1 files changed, 15 insertions, 11 deletions
diff --git a/StdLib/LibC/Stdio/fdopen.c b/StdLib/LibC/Stdio/fdopen.c
index 3a728951f6..4c6902396e 100644
--- a/StdLib/LibC/Stdio/fdopen.c
+++ b/StdLib/LibC/Stdio/fdopen.c
@@ -1,6 +1,14 @@
-/* $NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $ */
+/** @file
+
+ Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials are licensed and made available under
+ the terms and conditions of the BSD License that accompanies this distribution.
+ The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
@@ -30,16 +38,12 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- */
+
+ NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp
+ fdopen.c 8.1 (Berkeley) 6/4/93
+**/
#include <LibConfig.h>
#include <sys/EfiCdefs.h>
-#if defined(LIBC_SCCS) && !defined(lint)
-#if 0
-static char sccsid[] = "@(#)fdopen.c 8.1 (Berkeley) 6/4/93";
-#else
-__RCSID("$NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $");
-#endif
-#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
#include <sys/types.h>
@@ -47,8 +51,8 @@ __RCSID("$NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $");
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <sys/EfiSysCall.h>
#include <stdio.h>
+#include <unistd.h>
#include "reentrant.h"
#include "local.h"