diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-13 23:32:15 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-13 23:32:15 +0000 |
commit | 9a5d4089bc3a7dfa11d0665e50a7b060d85116e2 (patch) | |
tree | 9eb19ca76e35ddba1160a9609f358cb5f948f5b1 /lib | |
parent | 14d1fdaec181530b424ff5fea7bbfe65f8292bbf (diff) | |
download | coreutils-9a5d4089bc3a7dfa11d0665e50a7b060d85116e2.tar.xz |
(struct sha1_ctx): Mark buffer as being aligned.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sha1.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sha1.h b/lib/sha1.h index b660cd0f3..bb48855b8 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)))); }; |