2005-05-22 Dmitry V. Levin <ldv@altlinux.org>

[BZ #961]
	* io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
	declarations.
This commit is contained in:
Jakub Jelinek 2005-05-23 14:28:30 +00:00
parent 9ebafd4bb2
commit ee6630e651
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2005-05-22 Dmitry V. Levin <ldv@altlinux.org>
[BZ #961]
* io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
declarations.
2005-05-22 Andreas Schwab <schwab@suse.de>
* elf/rtld.c: Include <dl-osinfo.h>.

View 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