[#] http://marc.info/?l=openbsd-cvs&m=140838914030527&w=2
openbsd-cvs(obsdave,2) — All
2014-08-18 23:55:11


Module name: src
Changes by: bcook@cvs.openbsd.org 2014/08/18 13:11:48

Modified files:
lib/libssl/src/crypto: md32_common.h
lib/libssl/src/crypto/md4: md4_dgst.c md4_locl.h
lib/libssl/src/crypto/md5: md5_locl.h
lib/libssl/src/crypto/ripemd: rmd_dgst.c rmd_locl.h
lib/libssl/src/crypto/sha: sha256.c sha_locl.h

Log message:
remove return value from HOST_c2l/l2c macros

These macros and asm inlines simulate a function returning a value, but
nothing ever uses this return value. Remove the pseudo-returns and
(void) casts discarding the unused values.

This, maybe unsurprisingly, speeds things up a bit. It also removes the
GCC 4.9 warnings about unused values.

ok miod@ deraadt@