diff options
| author | Paul Eggert | 2012-11-30 10:25:59 -0800 |
|---|---|---|
| committer | Paul Eggert | 2012-11-30 10:25:59 -0800 |
| commit | f64898abf40b09990c4974c921ddc2ebc698609a (patch) | |
| tree | 45707f0fd85ef6da1c94832b9af8290b2ad0d5d2 /lib/sha1.c | |
| parent | f8aff4c6b87598697d7fc67063037ac69f1c9421 (diff) | |
| download | emacs-f64898abf40b09990c4974c921ddc2ebc698609a.tar.gz emacs-f64898abf40b09990c4974c921ddc2ebc698609a.zip | |
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/sha1.c')
| -rw-r--r-- | lib/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sha1.c b/lib/sha1.c index 0d82af14bc9..b9505dd9467 100644 --- a/lib/sha1.c +++ b/lib/sha1.c | |||
| @@ -70,7 +70,7 @@ sha1_init_ctx (struct sha1_ctx *ctx) | |||
| 70 | /* Copy the 4 byte value from v into the memory location pointed to by *cp, | 70 | /* Copy the 4 byte value from v into the memory location pointed to by *cp, |
| 71 | If your architecture allows unaligned access this is equivalent to | 71 | If your architecture allows unaligned access this is equivalent to |
| 72 | * (uint32_t *) cp = v */ | 72 | * (uint32_t *) cp = v */ |
| 73 | static inline void | 73 | static void |
| 74 | set_uint32 (char *cp, uint32_t v) | 74 | set_uint32 (char *cp, uint32_t v) |
| 75 | { | 75 | { |
| 76 | memcpy (cp, &v, sizeof v); | 76 | memcpy (cp, &v, sizeof v); |