From edfe725171b053c01218336eb30e3e3dcc997916 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 19 Apr 2001 14:42:48 +0000 Subject: Remove all the __THROW macros --- libc/sysdeps/linux/arm/bits/errno.h | 2 +- libc/sysdeps/linux/arm/bits/socket.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/arm/bits') diff --git a/libc/sysdeps/linux/arm/bits/errno.h b/libc/sysdeps/linux/arm/bits/errno.h index 6bfd44e0c..0c33c9c0a 100644 --- a/libc/sysdeps/linux/arm/bits/errno.h +++ b/libc/sysdeps/linux/arm/bits/errno.h @@ -36,7 +36,7 @@ extern int errno; /* Function to get address of global `errno' variable. */ -extern int *__errno_location (void) __THROW __attribute__ ((__const__)); +extern int *__errno_location (void) __attribute__ ((__const__)); # if defined _LIBC /* We wouldn't need a special macro anymore but it is history. */ diff --git a/libc/sysdeps/linux/arm/bits/socket.h b/libc/sysdeps/linux/arm/bits/socket.h index 491b133b7..dc2d58cfc 100644 --- a/libc/sysdeps/linux/arm/bits/socket.h +++ b/libc/sysdeps/linux/arm/bits/socket.h @@ -251,7 +251,7 @@ extern struct cmsghdr *__cmsg_nxthdr __P ((struct msghdr *__mhdr, # define _EXTERN_INLINE extern __inline # endif _EXTERN_INLINE struct cmsghdr * -__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __THROW +__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) { if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) /* The kernel header does this so there may be a reason. */ -- cgit v1.2.3