diff options
author | Andreas Jaeger <aj@suse.de> | 2000-08-21 16:02:48 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-08-21 16:02:48 +0000 |
commit | d4b0774fc60f6389cccc12538e7ff29ba3f50fc7 (patch) | |
tree | 32efc292a9e3c7d48afccce3a046a666fb0c79cf /include | |
parent | 3d421b2845df67a2e1f0a9da0b7101f87872eee6 (diff) | |
download | glibc-d4b0774fc60f6389cccc12538e7ff29ba3f50fc7.tar glibc-d4b0774fc60f6389cccc12538e7ff29ba3f50fc7.tar.gz glibc-d4b0774fc60f6389cccc12538e7ff29ba3f50fc7.tar.bz2 glibc-d4b0774fc60f6389cccc12538e7ff29ba3f50fc7.zip |
Update.
2000-08-21 Andreas Jaeger <aj@suse.de>
* include/poll.h: Include include/sys/poll.h to get __poll
declaration.
* io/sys/poll.h: Move __poll declaration from here...
* include/sys/poll.h: ...to here.
* include/sys/socket.h (__getpeername): Add declaration.
* include/wchar.h (__vswprintf): Add declaration.
* include/stdio.h (__flockfile): Add declaration.
(__funlockfile): Likewise.
Diffstat (limited to 'include')
-rw-r--r-- | include/poll.h | 2 | ||||
-rw-r--r-- | include/stdio.h | 6 | ||||
-rw-r--r-- | include/sys/poll.h | 7 | ||||
-rw-r--r-- | include/wchar.h | 5 |
4 files changed, 18 insertions, 2 deletions
diff --git a/include/poll.h b/include/poll.h index 778488accb..75181925aa 100644 --- a/include/poll.h +++ b/include/poll.h @@ -1 +1 @@ -#include <io/poll.h> +#include <include/sys/poll.h> diff --git a/include/stdio.h b/include/stdio.h index a4dc141275..0329fe2d1e 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -50,6 +50,12 @@ extern int __gen_tempname (char *__tmpl, int __kind); extern void __libc_fatal (__const char *__message) __attribute__ ((__noreturn__)); +/* Acquire ownership of STREAM. */ +extern void __flockfile (FILE *__stream); + +/* Relinquish the ownership granted for STREAM. */ +extern void __funlockfile (FILE *__stream); + # endif #endif diff --git a/include/sys/poll.h b/include/sys/poll.h index 5231e6845e..d7d6e013a0 100644 --- a/include/sys/poll.h +++ b/include/sys/poll.h @@ -1 +1,6 @@ -#include <io/sys/poll.h> +#ifndef _SYS_POLL_H +# include <io/sys/poll.h> + +extern int __poll (struct pollfd *__fds, unsigned long int __nfds, + int __timeout); +#endif diff --git a/include/wchar.h b/include/wchar.h index cdc4e757c3..7187d76c05 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -43,5 +43,10 @@ extern int __vfwscanf (FILE *__restrict __s, __const wchar_t *__restrict __format, __gnuc_va_list __arg) /* __attribute__ ((__format__ (__wscanf__, 2, 0)) */; +extern int __vswprintf (wchar_t *__restrict __s, size_t __n, + __const wchar_t *__restrict __format, + __gnuc_va_list __arg) + /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */; + # endif #endif |