From: Paul Eggert Date: Tue, 13 Sep 2005 23:32:15 +0000 (+0000) Subject: (struct sha1_ctx): Mark buffer as being aligned. X-Git-Tag: v5.90~233 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a5d4089bc3a7dfa11d0665e50a7b060d85116e2;p=thirdparty%2Fcoreutils.git (struct sha1_ctx): Mark buffer as being aligned. --- diff --git a/lib/sha1.h b/lib/sha1.h index b660cd0f3f..bb48855b8d 100644 --- a/lib/sha1.h +++ b/lib/sha1.h @@ -1,6 +1,6 @@ /* Declarations of functions and data types used for SHA1 sum library functions. - Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -33,7 +33,7 @@ struct sha1_ctx md5_uint32 total[2]; md5_uint32 buflen; - char buffer[128]; + char buffer[128] __attribute__ ((__aligned__ (__alignof__ (md5_uint32)))); };