diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-20 22:25:08 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-29 23:38:54 -0800 |
commit | a901e1f94eb5223ea4461dac1c7b4778ea58d8bf (patch) | |
tree | 78db36c042f66a14651b2296ef30a0ebb0f08e75 /lib/arctwo.c | |
parent | 30d594eb300acfbf6a829bb299bface0d7ea8d8c (diff) | |
download | gnulib-a901e1f94eb5223ea4461dac1c7b4778ea58d8bf.tar.gz |
arctwo, md4, md5, sha1, sha256, sha512: no 'static inline'
* lib/arctwo.c (to_uchar):
* lib/md4.c (set_uint32):
* lib/md5.c (set_uint32):
* lib/sha1.c (set_uint32):
* lib/sha256.c (set_uint32):
* lib/sha512.c (set_uint64):
Now static, not static inline. This is a bit simpler, and doesn't
affect performance with GCC and default optimization.
* m4/arctwo.m4 (gl_ARCTWO):
* m4/md4.m4 (gl_MD4):
* m4/md5.m4 (gl_MD5):
* m4/sha1.m4 (gl_SHA1):
* m4/sha256.m4 (gl_SHA256):
* m4/sha512.m4 (gl_SHA512):
Do not require AC_C_INLINE.
Diffstat (limited to 'lib/arctwo.c')
-rw-r--r-- | lib/arctwo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arctwo.c b/lib/arctwo.c index 4404936da4..4cdef6f62a 100644 --- a/lib/arctwo.c +++ b/lib/arctwo.c @@ -67,7 +67,7 @@ static const uint8_t arctwo_sbox[] = { }; /* C89 compliant way to cast 'char' to 'unsigned char'. */ -static inline unsigned char +static unsigned char to_uchar (char ch) { return ch; |