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))
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to