diff options
author | Ken Brown <kbrown@cornell.edu> | 2022-05-22 22:18:48 +0300 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2022-05-30 00:45:52 +0300 |
commit | 2d9b48760c48f19b2941f05ee6720f510700823c (patch) | |
tree | 693f2793b34d8aea8a57d8e0f6202d802eb91097 /winsup/cygwin/libc/fts.c | |
parent | 7c0de0af97d35c8fed5ffbf311e54af85d1c4af3 (diff) |
Cygwin: simplify some function names
Remove "32" or "64" from each of the following names: acl32,
aclcheck32, aclfrommode32, aclfrompbits32, aclfromtext32, aclsort32,
acltomode32, acltopbits32, acltotext32, facl32, fchown32, fcntl64,
fstat64, _fstat64, _fstat64_r, ftruncate64, getgid32, getgrent32,
getgrgid32, getgrnam32, getgroups32, getpwuid32, getpwuid_r32,
getuid32, getuid32, initgroups32, lseek64, lstat64, mknod32, mmap64,
setegid32, seteuid32, setgid32, setgroups32, setregid32, setreuid32,
setuid32, stat64, _stat64_r, truncate64.
Remove prototypes and macro definitions of these names.
Remove "#ifndef __INSIDE_CYGWIN__" from some headers so that the new
names will be available when compiling Cygwin.
Remove aliases that are no longer needed.
Include <unistd.h> in fhandler_clipboard.cc for the declarations of
geteuid and getegid.
Diffstat (limited to 'winsup/cygwin/libc/fts.c')
-rw-r--r-- | winsup/cygwin/libc/fts.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/winsup/cygwin/libc/fts.c b/winsup/cygwin/libc/fts.c index 003f85146..1826d2213 100644 --- a/winsup/cygwin/libc/fts.c +++ b/winsup/cygwin/libc/fts.c @@ -58,17 +58,8 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/fts.c,v 1.39 2013/02/11 02:00:16 svnexp Exp #define _open open #define _close close #define _dirfd dirfd -#ifdef __x86_64__ #define _fstat fstat #else -extern int stat64 (const char *path, struct stat *buf); -extern int fstat64 (int fd, struct stat *buf); -extern int lstat64 (const char *path, struct stat *buf); -#define stat(a,b) stat64((a),(b)) -#define _fstat(a,b) fstat64((a),(b)) -#define lstat(a,b) lstat64((a),(b)) -#endif -#else #include "un-namespace.h" #include "gen-private.h" |