summaryrefslogtreecommitdiff
path: root/lib/md5.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-30 10:25:59 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-30 10:25:59 -0800
commitf64898abf40b09990c4974c921ddc2ebc698609a (patch)
tree45707f0fd85ef6da1c94832b9af8290b2ad0d5d2 /lib/md5.c
parentf8aff4c6b87598697d7fc67063037ac69f1c9421 (diff)
downloademacs-f64898abf40b09990c4974c921ddc2ebc698609a.tar.gz
Merge from gnulib for 'inline'.
2012-11-29 snippet/warn-on-use: no 'static inline' 2012-11-29 ftruncate, fts, lstat, openat, raise: no 'static inline' 2012-11-29 arctwo, md4, md5, sha1, sha256, sha512: no 'static inline' 2012-11-29 fflush, stat: no 'static inline' 2012-11-29 stdio: better 'inline' 2012-11-29 sys_stat: no 'static inline' 2012-11-29 unistd: better 'inline' 2012-11-29 c-strtod, memcoll, readutmp: no 'static inline' 2012-11-29 extern-inline: no 'static inline' 2012-11-29 sys_socket: better 'inline' * lib/stdio.c, lib/unistd.c: New files, from gnulib. * build-aux/snippet/warn-on-use.h, lib/gnulib.mk, lib/lstat.c: * lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c, lib/stat.c: * lib/stdio.in.h, lib/sys_stat.in.h, lib/unistd.in.h, m4/c-strtod.m4: * m4/extern-inline.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/md5.m4: * m4/sha1.m4, m4/sha256.m4, m4/sha512.m4, m4/stat.m4, m4/stdio_h.m4: * m4/sys_socket_h.m4, m4/sys_stat_h.m4, m4/unistd_h.m4: Update from gnulib. Fixes: debbugs:13040
Diffstat (limited to 'lib/md5.c')
-rw-r--r--lib/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/md5.c b/lib/md5.c
index 30b7e50e3ae..6e6d61270dd 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -83,7 +83,7 @@ md5_init_ctx (struct md5_ctx *ctx)
/* Copy the 4 byte value from v into the memory location pointed to by *cp,
If your architecture allows unaligned access this is equivalent to
* (uint32_t *) cp = v */
-static inline void
+static void
set_uint32 (char *cp, uint32_t v)
{
memcpy (cp, &v, sizeof v);