diff options
author | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-02 19:24:19 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-02 19:24:19 +0000 |
commit | d711a4860afcfecb23de8ea178acf2ae58650b2f (patch) | |
tree | 18ccf94d056bbe6b100b31be2b03bcf510873772 /StdLibPrivateInternalFiles | |
parent | 77c9e7473c19f324a737b362444461d97565a4e6 (diff) | |
download | edk2-platforms-d711a4860afcfecb23de8ea178acf2ae58650b2f.tar.xz |
StdLib: Add directory access functions to PosixLib.
Update <dirent.h> and <sys/dirent.h> to latest version.
Enable the tempnam function.
Fix assignments within predicate expressions so that it is clear where assignment is intended and where comparison occurs.
Remove internal.h and DirFunctions.c with its non-portable opendir, closedir, and readdir functions.
Add modified versions of the NetBSD opendir, closedir, and readdir functions.
Fix the declaration of stat() to be standards compliant and consistent with code.
Clean up indentation and declarations of non-existent objects.
Signed-off-by: darylm503
Reviewed-by: lgrosenb
Reviewed-by: lpleahy
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12649 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLibPrivateInternalFiles')
-rw-r--r-- | StdLibPrivateInternalFiles/Include/extern.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/StdLibPrivateInternalFiles/Include/extern.h b/StdLibPrivateInternalFiles/Include/extern.h index ff37d1c0a4..fc39d52908 100644 --- a/StdLibPrivateInternalFiles/Include/extern.h +++ b/StdLibPrivateInternalFiles/Include/extern.h @@ -43,9 +43,9 @@ char *__dtoa(double, int, int, int *, int *, char **); void __freedtoa(char *);
int __sysctl(const int *, unsigned int, void *, size_t *, const void *, size_t);
-struct sigaction;
-int __sigaction_sigtramp(int, const struct sigaction *,
- struct sigaction *, const void *, int);
+//struct sigaction;
+//int __sigaction_sigtramp(int, const struct sigaction *,
+// struct sigaction *, const void *, int);
#ifdef WIDE_DOUBLE
char *__hdtoa(double, const char *, int, int *, int *, char **);
@@ -53,15 +53,15 @@ int __sigaction_sigtramp(int, const struct sigaction *, char *__ldtoa(long double *, int, int, int *, int *, char **);
#endif
-struct syslog_data;
-void syslog_ss(int, struct syslog_data *, const char *, ...)
- __attribute__((__format__(__printf__,3,4)));
-void vsyslog_ss(int, struct syslog_data *, const char *, _BSD_VA_LIST_);
+//struct syslog_data;
+//void syslog_ss(int, struct syslog_data *, const char *, ...)
+// __attribute__((__format__(__printf__,3,4)));
+//void vsyslog_ss(int, struct syslog_data *, const char *, _BSD_VA_LIST_);
-int snprintf_ss(char * __restrict, size_t, const char * __restrict, ...)
- __attribute__((__format__(__printf__, 3, 4)));
-int vsnprintf_ss(char * __restrict, size_t, const char * __restrict,
- _BSD_VA_LIST_) __attribute__((__format__(__printf__, 3, 0)));
+//int snprintf_ss(char * __restrict, size_t, const char * __restrict, ...)
+// __attribute__((__format__(__printf__, 3, 4)));
+//int vsnprintf_ss(char * __restrict, size_t, const char * __restrict,
+// _BSD_VA_LIST_) __attribute__((__format__(__printf__, 3, 0)));
void Efi2Tm( EFI_TIME *ET, struct tm *BT);
time_t Efi2Time( EFI_TIME *EfiBDtime);
|