about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/openat.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2015-08-10 15:04:09 +0200
committerAndreas Schwab <schwab@suse.de>2015-08-11 09:37:38 +0200
commitdc8a7ff24dfd1fd97a50b4b83a715958b31e4b92 (patch)
tree1146f205cbd2f22bd875d5ce086aa29444e99098 /sysdeps/unix/sysv/linux/openat.c
parent4afe4b20ce120fd46bd67e212b102019c2e40e81 (diff)
downloadglibc-dc8a7ff24dfd1fd97a50b4b83a715958b31e4b92.tar.gz
glibc-dc8a7ff24dfd1fd97a50b4b83a715958b31e4b92.tar.xz
glibc-dc8a7ff24dfd1fd97a50b4b83a715958b31e4b92.zip
Remove unused definition of __openat(64)_nocancel
Diffstat (limited to 'sysdeps/unix/sysv/linux/openat.c')
-rw-r--r--sysdeps/unix/sysv/linux/openat.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sysdeps/unix/sysv/linux/openat.c b/sysdeps/unix/sysv/linux/openat.c
index ad8e31d6cf..5d4cc0c104 100644
--- a/sysdeps/unix/sysv/linux/openat.c
+++ b/sysdeps/unix/sysv/linux/openat.c
@@ -30,24 +30,6 @@
 # define OPENAT openat
 #endif
 
-
-#define OPENAT_NOT_CANCEL CONCAT (OPENAT)
-#define CONCAT(name) CONCAT2 (name)
-#define CONCAT2(name) __##name##_nocancel
-
-
-int
-OPENAT_NOT_CANCEL (int fd, const char *file, int oflag, mode_t mode)
-{
-
-  /* We have to add the O_LARGEFILE flag for openat64.  */
-#ifdef MORE_OFLAGS
-  oflag |= MORE_OFLAGS;
-#endif
-
-  return INLINE_SYSCALL (openat, 4, fd, file, oflag, mode);
-}
-
 #define UNDERIZE(name) UNDERIZE_1 (name)
 #define UNDERIZE_1(name) __##name
 #define __OPENAT UNDERIZE (OPENAT)