diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-21 06:49:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-21 06:49:52 +0000 |
commit | 98cbe360d947b59e7a5eda068581f4cfeb4b99b3 (patch) | |
tree | cea10cb9c398de637781b09112ca635518cf3944 /inet/arpa | |
parent | 4aebaa6bd906383aca1b7a5e1251b0d1652f9f7c (diff) | |
download | glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.tar.gz glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.tar.xz glibc-98cbe360d947b59e7a5eda068581f4cfeb4b99b3.zip |
Update.
* misc/sys/cdefs.h: Define __restrict_arr. * include/sys/time.h: Add restrict where required by AGd4. * inet/arpa/inet.h: Likewise. * io/sys/stat.h: Likewise. * io/sys/statvfs.h: Likewise. * misc/search.h: Likewise. * misc/sys/select.h: Likewise. * posix/glob.h: Likewise. * posix/regex.h: Likewise. * posix/spawn.h: Likewise. * posix/unistd.h: Likewise. * rt/aio.h: Likewise. * signal/signal.h: Likewise. * socket/sys/socket.h: Likewise. * stdlib/ucontext.h: Likewise. * streams/stropts.h: Likewise. * string/string.h: Likewise. * time/time.h: Likewise. * time/sys/time.h: Likewise. * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam and posix_spawnattr_setscheparam. * libio/stdio.h: Make cuserid prototype again available for all XPG versions.
Diffstat (limited to 'inet/arpa')
-rw-r--r-- | inet/arpa/inet.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h index 72a90ba3da..a9381de6da 100644 --- a/inet/arpa/inet.h +++ b/inet/arpa/inet.h @@ -51,13 +51,15 @@ extern char *inet_ntoa (struct in_addr __in) __THROW; /* Convert from presentation format of an Internet number in buffer starting at CP to the binary network format and store result for interface type AF in buffer starting at BUF. */ -extern int inet_pton (int __af, __const char *__cp, void *__buf) __THROW; +extern int inet_pton (int __af, __const char *__restrict __cp, + void *__restrict __buf) __THROW; /* Convert a Internet address in binary network format for interface type AF in buffer starting at CP to presentation form and place result in buffer of length LEN astarting at BUF. */ -extern __const char *inet_ntop (int __af, __const void *__cp, - char *__buf, socklen_t __len) __THROW; +extern __const char *inet_ntop (int __af, __const void *__restrict __cp, + char *__restrict __buf, socklen_t __len) + __THROW; /* The following functions are not part of XNS 5.2. */ |