summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-09-22 15:13:17 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-09-22 15:13:17 -0700
commitb10ae3e1a7c105609771b0de911ff9e72a4cc0d1 (patch)
tree714bff4be539f60d1467d4b2a4373fa9e7d940f8 /libpthread/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h
parent51468f1123252fbc9f1cbb244160cf7d95d01334 (diff)
downloaduClibc-alpine-b10ae3e1a7c105609771b0de911ff9e72a4cc0d1.tar.bz2
uClibc-alpine-b10ae3e1a7c105609771b0de911ff9e72a4cc0d1.tar.xz
spent this morning beating i386 nptl into shape
Got it compiling thus far, still working on getting it to run Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h
index cc3282fbd..5bdba3f51 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h
@@ -26,13 +26,20 @@ extern int __close_nocancel (int) attribute_hidden;
extern int __read_nocancel (int, void *, size_t) attribute_hidden;
extern int __write_nocancel (int, const void *, size_t) attribute_hidden;
extern pid_t __waitpid_nocancel (pid_t, int *, int) attribute_hidden;
+
+libc_hidden_proto(__open_nocancel)
+libc_hidden_proto(__close_nocancel)
+libc_hidden_proto(__read_nocancel)
+libc_hidden_proto(__write_nocancel)
+libc_hidden_proto(__waitpid_nocancel)
+
#else
-#define __open_nocancel(name, ...) __open (name, __VA_ARGS__)
-#define __close_nocancel(fd) __close (fd)
-#define __read_nocancel(fd, buf, len) __read (fd, buf, len)
-#define __write_nocancel(fd, buf, len) __write (fd, buf, len)
+#define __open_nocancel(name, ...) open (name, __VA_ARGS__)
+#define __close_nocancel(fd) close (fd)
+#define __read_nocancel(fd, buf, len) read (fd, buf, len)
+#define __write_nocancel(fd, buf, len) write (fd, buf, len)
#define __waitpid_nocancel(pid, stat_loc, options) \
- __waitpid (pid, stat_loc, options)
+ waitpid (pid, stat_loc, options)
#endif
/* Uncancelable open. */