summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-21 00:18:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-21 00:18:02 +0000
commit358534f7db075fd8737a9e0a7f2fbe3cb9c59316 (patch)
tree881233596dda8883d6d49f68f5830763293d3f37 /libc/misc
parent57f2c2a0ad9d9dc22d8d8c6e9c5559d1ef774c17 (diff)
Use __typeof instead of adding full prototypes
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/internals/__uClibc_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 7bfe2ccc4..190263b28 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -38,9 +38,9 @@ libc_hidden_proto(fstat)
libc_hidden_proto(abort)
libc_hidden_proto(exit)
-extern int __libc_open (__const char *__file, int __oflag, ...) __nonnull ((1));
+extern __typeof(open) __libc_open;
libc_hidden_proto(__libc_open)
-extern int __libc_fcntl (int __fd, int __cmd, ...);
+extern __typeof(fcntl) __libc_fcntl;
libc_hidden_proto(__libc_fcntl)
#ifndef SHARED