summaryrefslogtreecommitdiff
path: root/StdLibPrivateInternalFiles/Include/namespace.h
diff options
context:
space:
mode:
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-07-30 00:25:54 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-07-30 00:25:54 +0000
commitf766dd76fde231ecd4f2e9faf99293e90902cebb (patch)
tree38f845277a463deb34006d84ff1651203dfa425a /StdLibPrivateInternalFiles/Include/namespace.h
parent84c1b22e843a3af1994e2a938a3685f4874462f9 (diff)
downloadedk2-platforms-f766dd76fde231ecd4f2e9faf99293e90902cebb.tar.xz
Changes so that Argv points to narrow-character versions of the command-line arguments.
Fix "long double" handling and differences between MSFT and GCC compilers. Fix compliance issues with ISO/IEC 9899:199409 New Function declarations: setenv(), fparseln(), GetFileNameFromPath(), rename() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12060 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLibPrivateInternalFiles/Include/namespace.h')
-rw-r--r--StdLibPrivateInternalFiles/Include/namespace.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/StdLibPrivateInternalFiles/Include/namespace.h b/StdLibPrivateInternalFiles/Include/namespace.h
index 038e402cc8..67666fc999 100644
--- a/StdLibPrivateInternalFiles/Include/namespace.h
+++ b/StdLibPrivateInternalFiles/Include/namespace.h
@@ -39,6 +39,17 @@
#include <sys/EfiCdefs.h>
#ifndef __lint__
+#define ftello _ftello
+#define getcontext _getcontext
+#define getenv_r _getenv_r
+#define strtof _strtof
+#define strtoimax _strtoimax
+#define strtold _strtold
+#define strtoll _strtoll
+#define strtoull _strtoull
+#define strtoumax _strtoumax
+
+#if 0
#define brk _brk
#define catclose _catclose
#define catgets _catgets
@@ -51,22 +62,13 @@
#endif /* _REENTRANT */
#define fork _fork
#define fseeko _fseeko
-#define ftello _ftello
-#define getcontext _getcontext
-#define getenv_r _getenv_r
-//#define inet_aton _inet_aton
-//#define inet_pton _inet_pton
+#define inet_aton _inet_aton
+#define inet_pton _inet_pton
#define pipe _pipe
#define sbrk _sbrk
-//#define strerror_r _strerror_r
+#define strerror_r _strerror_r
#define strlcat _strlcat
#define strlcpy _strlcpy
-#define strtof _strtof
-#define strtoimax _strtoimax
-#define strtold _strtold
-#define strtoll _strtoll
-#define strtoull _strtoull
-#define strtoumax _strtoumax
#define sys_errlist _sys_errlist
#define sys_nerr _sys_nerr
#define sys_siglist _sys_siglist
@@ -79,7 +81,6 @@
#define warn _warn
#define warnx _warnx
-#if 0
//#ifdef __weak_alias
#define MD2Data _MD2Data
#define MD2End _MD2End
@@ -244,7 +245,6 @@
#define ftrylockfile _ftrylockfile
#define funlockfile _funlockfile
#define fnmatch _fnmatch
-#define fparseln _fparseln
#define fpgetmask _fpgetmask
#define fpgetround _fpgetround
#define fpgetsticky _fpgetsticky