summaryrefslogtreecommitdiff
path: root/include/libc-internal.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-09 15:43:30 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-09 15:43:30 +0000
commit4f16d2e03a6cc2415a0eefcf50410d1943319543 (patch)
tree8d3132396738369409812b09668e5f39b3459096 /include/libc-internal.h
parent06f8a796e2d4d88cfd89b21a2b7b195c3612ba81 (diff)
Implement hidden poll, switch user to hidden *printf/*scanf/poll
Diffstat (limited to 'include/libc-internal.h')
-rw-r--r--include/libc-internal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 5faa87871..05114aab8 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -187,6 +187,11 @@ extern __pid_t __getpid (void) attribute_hidden;
/* #include <stdio.h> */
extern void __perror (__const char *__s) attribute_hidden;
+extern int __printf (__const char *__restrict __format, ...) attribute_hidden;
+extern int __sprintf (char *__restrict __s,
+ __const char *__restrict __format, ...) attribute_hidden;
+/* hack */
+#define fprintf __fprintf
/* #include <stdlib.h> */
extern char *__getenv (__const char *__name) attribute_hidden;
@@ -207,6 +212,12 @@ typedef struct __dirstream DIR;
extern DIR *__opendir (__const char *__name) attribute_hidden;
extern int __closedir (DIR *__dirp) attribute_hidden;
+/* #include <stdio.h> */
+extern int __vfprintf (FILE *__restrict __s, __const char *__restrict __format,
+ __gnuc_va_list __arg) attribute_hidden;
+extern int __fprintf (FILE *__restrict __stream,
+ __const char *__restrict __format, ...) attribute_hidden;
+
/* #include <sys/time.h> */
# define __need_timeval
# include <bits/time.h>