-/* $NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $ */\r
+/** @file\r
+\r
+ Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials are licensed and made available under\r
+ the terms and conditions of the BSD License that accompanies this distribution.\r
+ The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
-/*-\r
* Copyright (c) 1990, 1993\r
* The Regents of the University of California. All rights reserved.\r
*\r
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
* SUCH DAMAGE.\r
- */\r
+\r
+ NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp\r
+ fdopen.c 8.1 (Berkeley) 6/4/93\r
+**/\r
#include <LibConfig.h>\r
#include <sys/EfiCdefs.h>\r
-#if defined(LIBC_SCCS) && !defined(lint)\r
-#if 0\r
-static char sccsid[] = "@(#)fdopen.c 8.1 (Berkeley) 6/4/93";\r
-#else\r
-__RCSID("$NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $");\r
-#endif\r
-#endif /* LIBC_SCCS and not lint */\r
\r
#include "namespace.h"\r
#include <sys/types.h>\r
#include <assert.h>\r
#include <errno.h>\r
#include <fcntl.h>\r
-#include <sys/EfiSysCall.h>\r
#include <stdio.h>\r
+#include <unistd.h>\r
\r
#include "reentrant.h"\r
#include "local.h"\r