aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/bits/socket.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-01-10 11:44:24 +0000
committerAndreas Jaeger <aj@suse.de>2000-01-10 11:44:24 +0000
commit4618c1f7affb9bb52d1c51ceaa28abbbdef3c4b5 (patch)
treea02c7f73ae681fd9983eb2f0e50b696e4ac68e71 /sysdeps/unix/sysv/linux/mips/bits/socket.h
parent7feefb694436e1091ef8ee3d0eb02c7b03b64f14 (diff)
downloadglibc-4618c1f7affb9bb52d1c51ceaa28abbbdef3c4b5.tar
glibc-4618c1f7affb9bb52d1c51ceaa28abbbdef3c4b5.tar.gz
glibc-4618c1f7affb9bb52d1c51ceaa28abbbdef3c4b5.tar.bz2
glibc-4618c1f7affb9bb52d1c51ceaa28abbbdef3c4b5.zip
2000-01-10 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing int's. * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add missing int's. * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support. * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/bits/socket.h')
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/socket.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/socket.h b/sysdeps/unix/sysv/linux/mips/bits/socket.h
index 74f54e87bd..747b11905d 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/socket.h
@@ -1,5 +1,5 @@
/* System-specific socket constants and types. Linux/MIPS version.
- Copyright (C) 1991,92,94,95,96,97,98,99 Free Software Foundation, Inc.
+ Copyright (C) 1991,92,94,95,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
@@ -203,13 +203,13 @@ enum
`sendmsg' and received by `recvmsg'. */
struct msghdr
{
- __ptr_t msg_name; /* Address to send to/receive from. */
+ void *msg_name; /* Address to send to/receive from. */
socklen_t msg_namelen; /* Length of address data. */
struct iovec *msg_iov; /* Vector of data to send/receive into. */
size_t msg_iovlen; /* Number of elements in the vector. */
- __ptr_t msg_control; /* Ancillary data (eg BSD filedesc passing). */
+ void *msg_control; /* Ancillary data (eg BSD filedesc passing). */
size_t msg_controllen; /* Ancillary data buffer length. */
int msg_flags; /* Flags on received message. */
@@ -244,8 +244,8 @@ struct cmsghdr
+ CMSG_ALIGN (sizeof (struct cmsghdr)))
#define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
-extern struct cmsghdr *__cmsg_nxthdr __P ((struct msghdr *__mhdr,
- struct cmsghdr *__cmsg));
+extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
+ struct cmsghdr *__cmsg) __THROW;
#ifdef __USE_EXTERN_INLINES
# ifndef _EXTERN_INLINE
# define _EXTERN_INLINE extern __inline