+++ /dev/null
-/* @file\r
- Misc. external declarations.\r
-\r
- Copyright (c) 2010 - 2012, 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
- * Copyright (c) 1997 Christos Zoulas. All rights reserved.\r
- *\r
- * Redistribution and use in source and binary forms, with or without\r
- * modification, are permitted provided that the following conditions\r
- * are met:\r
- * 1. Redistributions of source code must retain the above copyright\r
- * notice, this list of conditions and the following disclaimer.\r
- * 2. Redistributions in binary form must reproduce the above copyright\r
- * notice, this list of conditions and the following disclaimer in the\r
- * documentation and/or other materials provided with the distribution.\r
- * 3. All advertising materials mentioning features or use of this software\r
- * must display the following acknowledgement:\r
- * This product includes software developed by Christos Zoulas.\r
- * 4. The name of the author may not be used to endorse or promote products\r
- * derived from this software without specific prior written permission.\r
- *\r
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\r
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\r
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\r
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\r
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\r
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\r
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
-\r
- NetBSD: extern.h,v 1.14 2006/11/22 17:23:25 christos Exp\r
- */\r
-#include <Uefi.h>\r
-#include <time.h>\r
-\r
-__BEGIN_DECLS\r
-extern char * __minbrk;\r
-int __getcwd(char *, size_t);\r
-int __getlogin(char *, size_t);\r
-int __setlogin(const char *);\r
-void _resumecontext(void);\r
-const char * __strerror(int , char *, size_t);\r
-const char * __strsignal(int , char *, size_t);\r
-char * __dtoa(double, int, int, int *, int *, char **);\r
-void __freedtoa(char *);\r
-int __sysctl(const int *, unsigned int, void *, size_t *, const void *, size_t);\r
-\r
-#ifdef HAVE_SIGACTION\r
- struct sigaction;\r
- int __sigaction_sigtramp (int, const struct sigaction *,\r
- struct sigaction *, const void *, int);\r
-#endif /* HAVE_SIGACTION */\r
-\r
-#ifdef WIDE_DOUBLE\r
- char * __hdtoa(double, const char *, int, int *, int *, char **);\r
- char * __hldtoa(long double, const char *, int, int *, int *, char **);\r
- char * __ldtoa(long double *, int, int, int *, int *, char **);\r
-#endif\r
-\r
-#ifdef HAVE_SYSLOG\r
- struct syslog_data;\r
- void syslog_ss(int, struct syslog_data *, const char *, ...)\r
- __attribute__((__format__(__printf__,3,4)));\r
- void vsyslog_ss(int, struct syslog_data *, const char *, _BSD_VA_LIST_);\r
-#endif /* HAVE_SYSLOG */\r
-\r
-#ifdef HAVE_SNPRINTF_SS\r
- int snprintf_ss(char * __restrict, size_t, const char * __restrict, ...)\r
- __attribute__((__format__(__printf__, 3, 4)));\r
-#endif /* HAVE_SNPRINTF_SS */\r
-\r
-#ifdef HAVE_VSNPRINTF_SS\r
- int vsnprintf_ss(char * __restrict, size_t, const char * __restrict,\r
- _BSD_VA_LIST_) __attribute__((__format__(__printf__, 3, 0)));\r
-#endif /* HAVE_VSNPRINTF_SS */\r
-\r
-void Efi2Tm( EFI_TIME *ET, struct tm *BT);\r
-time_t Efi2Time( EFI_TIME *EfiBDtime);\r
-\r
-__END_DECLS\r