Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2019 12:29:21 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354945 - head/sys/amd64/amd64
Message-ID:  <201911211229.xALCTLaF088719@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Thu Nov 21 12:29:20 2019
New Revision: 354945
URL: https://svnweb.freebsd.org/changeset/base/354945

Log:
  Fix for style(9): use parentheses around return statements.
  
  Reported by:	kib
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/amd64/amd64/machdep.c

Modified: head/sys/amd64/amd64/machdep.c
==============================================================================
--- head/sys/amd64/amd64/machdep.c	Thu Nov 21 12:29:01 2019	(r354944)
+++ head/sys/amd64/amd64/machdep.c	Thu Nov 21 12:29:20 2019	(r354945)
@@ -2742,21 +2742,21 @@ void *
 memset(void *buf, int c, size_t len)
 {
 
-	return memset_std(buf, c, len);
+	return (memset_std(buf, c, len));
 }
 
 void *
 memmove(void * _Nonnull dst, const void * _Nonnull src, size_t len)
 {
 
-	return memmove_std(dst, src, len);
+	return (memmove_std(dst, src, len));
 }
 
 void *
 memcpy(void * _Nonnull dst, const void * _Nonnull src, size_t len)
 {
 
-	return memcpy_std(dst, src, len);
+	return (memcpy_std(dst, src, len));
 }
 #else
 DEFINE_IFUNC(, void *, memset, (void *, int, size_t))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911211229.xALCTLaF088719>