From 3f66a0cf1b9c630cb5bb2ea8a9e2068aa4c0c6f9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 31 Jan 2001 06:16:26 +0000 Subject: Update. 2001-01-30 Ulrich Drepper * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro. * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise. * include/sys/socket.h: Add SA_LEN here for internal use. --- sysdeps/generic/bits/sockaddr.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sysdeps/generic/bits') diff --git a/sysdeps/generic/bits/sockaddr.h b/sysdeps/generic/bits/sockaddr.h index 91e923ff8e..f9ad296346 100644 --- a/sysdeps/generic/bits/sockaddr.h +++ b/sysdeps/generic/bits/sockaddr.h @@ -1,5 +1,5 @@ /* Definition of `struct sockaddr_*' common members. Generic/4.2 BSD version. - Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. + Copyright (C) 1995,1996,1997,1998,2000,2001 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,8 +37,4 @@ typedef unsigned short int sa_family_t; #define __SOCKADDR_COMMON_SIZE (sizeof (unsigned short int)) -/* Return the length of a `sockaddr' structure. */ -#define SA_LEN(_x) __libc_sa_len((_x)->sa_family) -extern int __libc_sa_len (sa_family_t __af) __THROW; - #endif /* bits/sockaddr.h */ -- cgit 1.4.1