diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-03 16:40:32 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-03 16:40:32 +0000 |
commit | a4a0c71e4f3913d56fd87754081da18bd353b9e8 (patch) | |
tree | f3028713ce33e15099476acb64491e573f3fa6e5 /source3/smbwrapper/realcalls.h | |
parent | 1fa3478aaf5a40a0eb37f8f5679707d23231e276 (diff) | |
download | samba-a4a0c71e4f3913d56fd87754081da18bd353b9e8.tar.gz samba-a4a0c71e4f3913d56fd87754081da18bd353b9e8.tar.bz2 samba-a4a0c71e4f3913d56fd87754081da18bd353b9e8.zip |
use __XXXdir() instead of __libc_XXXdir()
(This used to be commit e28f55c0a3386cdb0185f5252b54d10d2c2a1710)
Diffstat (limited to 'source3/smbwrapper/realcalls.h')
-rw-r--r-- | source3/smbwrapper/realcalls.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source3/smbwrapper/realcalls.h b/source3/smbwrapper/realcalls.h index a5eb046962..0b0a9f39cb 100644 --- a/source3/smbwrapper/realcalls.h +++ b/source3/smbwrapper/realcalls.h @@ -20,12 +20,11 @@ #define real_prev_stat(fn, buf ) (syscall(SYS_prev_stat, (fn), (buf))) #ifdef linux -struct dirent *__libc_readdir(DIR * dir); -#define real_readdir(dir) (__libc_readdir(dir)) -#define real_opendir(fn) (__libc_opendir(fn)) -#define real_telldir(dir) (__libc_telldir(dir)) -#define real_closedir(dir) (__libc_closedir(dir)) -#define real_seekdir(dir, ofs) (__libc_seekdir(dir, ofs)) +#define real_readdir(dir) (__readdir(dir)) +#define real_opendir(fn) (__opendir(fn)) +#define real_telldir(dir) (__telldir(dir)) +#define real_closedir(dir) (__closedir(dir)) +#define real_seekdir(dir, ofs) (__seekdir(dir, ofs)) #else #define real_readdir(dirp) ((struct dirent *)syscall(SYS_readdir,(dirp))) #define real_opendir(fn) ((DIR *)syscall(SYS_opendir,(fn))) |