]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2000-01-18 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Wed, 19 Jan 2000 00:02:00 +0000 (00:02 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 19 Jan 2000 00:02:00 +0000 (00:02 +0000)
* sysdeps/generic/bits/socket.h
(__ss_aligntype, struct sockaddr_storage): Make these like Linux
version, replacing old type name `__ss_align'.

sysdeps/generic/bits/socket.h

index 447372c406336a1423ecaabdbf0b212d357db421..7828d01bb3386f098bb79092c12b4f99c19a041d 100644 (file)
@@ -133,17 +133,17 @@ struct sockaddr
 /* Structure large enough to hold any socket address (with the historical
    exception of AF_UNIX).  We reserve 128 bytes.  */
 #if ULONG_MAX > 0xffffffff
-# define __ss_align    __uint64_t
+# define __ss_aligntype        __uint64_t
 #else
-# define __ss_align    __uint32_t
+# define __ss_aligntype        __uint32_t
 #endif
 #define _SS_SIZE       128
-#define _SS_PADSIZE    (_SS_SIZE - (2 * sizeof (__ss_align)))
+#define _SS_PADSIZE    (_SS_SIZE - (2 * sizeof (__ss_aligntype)))
 
 struct sockaddr_storage
   {
     __SOCKADDR_COMMON (__ss_); /* Address family, etc.  */
-    __ss_align __ss_align;     /* Force desired alignment.  */
+    __ss_aligntype __ss_align; /* Force desired alignment.  */
     char __ss_padding[_SS_PADSIZE];
   };