projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autoupdate
[gnulib.git]
/
lib
/
sha1.c
diff --git
a/lib/sha1.c
b/lib/sha1.c
index
a955d85
..
9c6c7ae
100644
(file)
--- a/
lib/sha1.c
+++ b/
lib/sha1.c
@@
-70,7
+70,7
@@
sha1_init_ctx (struct sha1_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 */
/* 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 void
+static
inline
void
set_uint32 (char *cp, uint32_t v)
{
memcpy (cp, &v, sizeof v);
set_uint32 (char *cp, uint32_t v)
{
memcpy (cp, &v, sizeof v);