]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
rnd: removed the packed attribute from event_st
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 13 Nov 2014 08:27:38 +0000 (09:27 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 13 Nov 2014 08:27:42 +0000 (09:27 +0100)
That prevents a SIGBUS on solaris sparc systems.
Reported by Thomas Thorberger.

lib/nettle/rnd-common.h

index c795f811316f3fbb69f308e2418e05a5675e2777..f6354793c955132d982faa3f1ce1ecc3470079a1 100644 (file)
@@ -41,11 +41,7 @@ struct event_st {
 #endif
                unsigned count; /* a running counter */
                unsigned err; /* the last errno */
-} 
-#ifdef __GNUC__
-__attribute__((packed))
-#endif
-;
+};
 
 void _rnd_get_event(struct event_st *e);