diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
commit | a784e502472fb3a1afa4d01a47c66b52d23e00f6 (patch) | |
tree | 5ebaa084119dcffe41671a62e2e799b172c57d24 /misc/sys/uio.h | |
parent | 33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff) | |
download | glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.xz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.zip |
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'misc/sys/uio.h')
-rw-r--r-- | misc/sys/uio.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/misc/sys/uio.h b/misc/sys/uio.h index a32b7ed8e5..299d320f44 100644 --- a/misc/sys/uio.h +++ b/misc/sys/uio.h @@ -1,4 +1,5 @@ -/* Copyright (C) 1991,1992,1996-1999,2003,2009 Free Software Foundation, Inc. +/* Copyright (C) 1991,1992,1996-1999,2003,2009,2012 + 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 @@ -37,7 +38,7 @@ __BEGIN_DECLS This function is a cancellation point and therefore not marked with __THROW. */ -extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count) +extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) __wur; /* Write data pointed by the buffers described by IOVEC, which @@ -48,7 +49,7 @@ extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count) This function is a cancellation point and therefore not marked with __THROW. */ -extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count) +extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) __wur; @@ -63,7 +64,7 @@ extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count) This function is a cancellation point and therefore not marked with __THROW. */ -extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count, +extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) __wur; /* Write data pointed by the buffers described by IOVEC, which is a @@ -75,14 +76,14 @@ extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count, This function is a cancellation point and therefore not marked with __THROW. */ -extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, +extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) __wur; # else # ifdef __REDIRECT -extern ssize_t __REDIRECT (preadv, (int __fd, __const struct iovec *__iovec, +extern ssize_t __REDIRECT (preadv, (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset), preadv64) __wur; -extern ssize_t __REDIRECT (pwritev, (int __fd, __const struct iovec *__iovec, +extern ssize_t __REDIRECT (pwritev, (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset), pwritev64) __wur; # else @@ -101,7 +102,7 @@ extern ssize_t __REDIRECT (pwritev, (int __fd, __const struct iovec *__iovec, This function is a cancellation point and therefore not marked with __THROW. */ -extern ssize_t preadv64 (int __fd, __const struct iovec *__iovec, int __count, +extern ssize_t preadv64 (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset) __wur; /* Write data pointed by the buffers described by IOVEC, which is a @@ -113,7 +114,7 @@ extern ssize_t preadv64 (int __fd, __const struct iovec *__iovec, int __count, This function is a cancellation point and therefore not marked with __THROW. */ -extern ssize_t pwritev64 (int __fd, __const struct iovec *__iovec, int __count, +extern ssize_t pwritev64 (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset) __wur; # endif #endif /* Use BSD */ |