]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorAndreas Jaeger <aj@suse.de>
Mon, 21 Aug 2000 16:02:48 +0000 (16:02 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 21 Aug 2000 16:02:48 +0000 (16:02 +0000)
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.

ChangeLog
include/poll.h
include/stdio.h
include/sys/poll.h
include/wchar.h
io/sys/poll.h

index ccffcd7873ecc93efba196e9f5c76798f8611195..b8831285a6fc7efb95ee941fa54f89b78bd87c0e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+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.
+
 2000-08-20  Ulrich Drepper  <drepper@redhat.com>
 
        * misc/sys/cdefs.h: Define __restrict_arr.
index 778488accb05e9072d87f646e5683bfb2dbaa7b8..75181925aa7a59c51e64c1d0346cca1973fcca8d 100644 (file)
@@ -1 +1 @@
-#include <io/poll.h>
+#include <include/sys/poll.h>
index a4dc141275730ae0029eb0dd23a06f74d4f820b1..0329fe2d1e1a107b6ffb7871cb2467b9e620a14b 100644 (file)
@@ -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
index 5231e6845e81ec6985a6e7bd480177a475960650..d7d6e013a03759f2843fbfc43a51c5e6ef145493 100644 (file)
@@ -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
index cdc4e757c384455a024f9d079280c54fb671ac4d..7187d76c0550a0b25061c3a9d25af03f3d4bf15e 100644 (file)
@@ -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
index ac9c634e9dc8771ddbe9e1b7cbdf274a47c435bf..f4c736e74aa7e53d74293756254f7bed55a40da9 100644 (file)
@@ -1,5 +1,5 @@
 /* Compatibility definitions for System V `poll' interface.
-   Copyright (C) 1994, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1994,96,97,98,99,2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -41,8 +41,6 @@ struct pollfd
    an event to occur; if TIMEOUT is -1, block until an event occurs.
    Returns the number of file descriptors with events, zero if timed out,
    or -1 for errors.  */
-extern int __poll (struct pollfd *__fds, unsigned long int __nfds,
-                  int __timeout) __THROW;
 extern int poll (struct pollfd *__fds, unsigned long int __nfds, int __timeout)
      __THROW;