about summary refs log tree commit diff
path: root/sysdeps/generic/not-cancel.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/not-cancel.h')
-rw-r--r--sysdeps/generic/not-cancel.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/sysdeps/generic/not-cancel.h b/sysdeps/generic/not-cancel.h
index b87c16034b..2bea378b44 100644
--- a/sysdeps/generic/not-cancel.h
+++ b/sysdeps/generic/not-cancel.h
@@ -19,8 +19,12 @@
    02111-1307 USA.  */
 
 /* By default we have none.  Map the name to the normal functions.  */
-#define open_not_cancel(name, flags, mode...) \
-  __libc_open (name, flags, ##mode)
+#define open_not_cancel(name, flags, mode) \
+  __libc_open (name, flags, mode)
+#define open_not_cancel_2(name, flags) \
+  __libc_open (name, flags)
+#define close_not_cancel(fd) \
+  __close (fd)
 #define close_not_cancel_no_status(fd) \
   (void) __close (fd)
 #define read_not_cancel(fd, buf, n) \
@@ -29,3 +33,5 @@
   __write (fd, buf, n)
 #define writev_not_cancel_no_status(fd, iov, n) \
   (void) __writev (fd, iov, n)
+# define waitpid_not_cancel(pid, stat_loc, options) \
+  __waitpid (pid, stat_loc, options)