]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-05-22 Dmitry V. Levin <ldv@altlinux.org>
authorRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 01:42:48 +0000 (01:42 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 01:42:48 +0000 (01:42 +0000)
[BZ #961]
* io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
declarations.

io/sys/sendfile.h

index 24256b5414df3fdcef7811e14736459b8b796c34..4c1367b6be75a8edf42709a8b40ad00b113f6b15 100644 (file)
@@ -32,19 +32,19 @@ __BEGIN_DECLS
    case of error.  */
 #ifndef __USE_FILE_OFFSET64
 extern ssize_t sendfile (int __out_fd, int __in_fd, off_t *__offset,
-                        size_t __count) __THROW __nonnull ((3));
+                        size_t __count) __THROW;
 #else
 # ifdef __REDIRECT_NTH
 extern ssize_t __REDIRECT_NTH (sendfile,
                               (int __out_fd, int __in_fd, __off64_t *__offset,
-                               size_t __count), sendfile64) __nonnull ((3));
+                               size_t __count), sendfile64);
 # else
 #  define sendfile sendfile64
 # endif
 #endif
 #ifdef __USE_LARGEFILE64
 extern ssize_t sendfile64 (int __out_fd, int __in_fd, __off64_t *__offset,
-                          size_t __count) __THROW __nonnull ((3));
+                          size_t __count) __THROW;
 #endif
 
 __END_DECLS