X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsha1.c;h=9c6c7ae3933d7b45a945a2404414b01bd2e4e95d;hb=ce8d6d06c84df409ebb0d71478a122f48cff3dc6;hp=a955d85e3fb0400f6dc2ffe73d8fc7b00425f67c;hpb=17bdb83ae669a9a01b6c33846a423e832e79557c;p=gnulib.git diff --git a/lib/sha1.c b/lib/sha1.c index a955d85e3..9c6c7ae39 100644 --- 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 */ -static void +static inline void set_uint32 (char *cp, uint32_t v) { memcpy (cp, &v, sizeof v);