aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-08 10:56:30 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-09 13:36:31 -0300
commitfe177b6733842a617ce6dc9de15194447ecb6be1 (patch)
treeeffc1b4206b61aa872636f22f2af2c773155b727 /sysdeps/unix/sysv
parentc93082545716dac16b9c408e6069f07e412d4409 (diff)
downloadglibc-fe177b6733842a617ce6dc9de15194447ecb6be1.tar
glibc-fe177b6733842a617ce6dc9de15194447ecb6be1.tar.gz
glibc-fe177b6733842a617ce6dc9de15194447ecb6be1.tar.bz2
glibc-fe177b6733842a617ce6dc9de15194447ecb6be1.zip
Enable --enable-fortify-source with clang
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/not-cancel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 2a7585b73f..7a5af5275a 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -29,16 +29,16 @@
#include <time.h>
/* Non cancellable open syscall. */
-__typeof (open) __open_nocancel;
+extern int __open_nocancel (const char *, int, ...);
/* Non cancellable open syscall (LFS version). */
-__typeof (open64) __open64_nocancel;
+extern int __open64_nocancel (const char *, int, ...);
/* Non cancellable openat syscall. */
-__typeof (openat) __openat_nocancel;
+extern int __openat_nocancel (int fd, const char *, int, ...);
/* Non cacellable openat syscall (LFS version). */
-__typeof (openat64) __openat64_nocancel;
+extern int __openat64_nocancel (int fd, const char *, int, ...);
/* Non cancellable read syscall. */
__typeof (__read) __read_nocancel;