Annotation of pkgsrc/security/mhash/patches/patch-lib_stdfns.c, Revision 1.1
1.1 ! dholland 1: $NetBSD$
! 2:
! 3: Avoid returning expressions of type void.
! 4:
! 5: --- lib/stdfns.c~ 2015-06-18 06:08:36.000000000 +0000
! 6: +++ lib/stdfns.c
! 7: @@ -222,7 +222,8 @@ mutils_memcpy(void *dest, __const void *
! 8: if ((n < 16) || ((mutils_word32)ptr1 & 0x3) || ((mutils_word32)ptr2
! 9: & 0x3))
! 10: {
! 11: - return mutils_memcpy8(ptr2, ptr1, n);
! 12: + mutils_memcpy8(ptr2, ptr1, n);
! 13: + return;
! 14: }
! 15:
! 16: words = n >> 2;
CVSweb <webmaster@jp.NetBSD.org>