svn commit: r327470 - in stable: 10/sys/cddl/contrib/opensolaris/uts/common/sys 11/sys/cddl/contrib/opensolaris/uts/common/sys 9/sys/cddl/contrib/opensolaris/uts/common/sys

Dimitry Andric dim at FreeBSD.org
Mon Jan 1 20:24:18 UTC 2018


Author: dim
Date: Mon Jan  1 20:24:16 2018
New Revision: 327470
URL: https://svnweb.freebsd.org/changeset/base/327470

Log:
  MFC r327167:
  
  Remove obsolete register keyword from opensolaris's sysmacros.h.  When
  compiling zfsd with recent clang, it leads to a warning about the
  register storage class being incompatible with C++17.

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h
  stable/11/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h
Directory Properties:
  stable/10/   (props changed)
  stable/11/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h	Mon Jan  1 19:34:19 2018	(r327469)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h	Mon Jan  1 20:24:16 2018	(r327470)
@@ -388,7 +388,7 @@ highbit(ulong_t i)
 #if defined(__FreeBSD__) && defined(_KERNEL) && defined(HAVE_INLINE_FLSL)
 	return (flsl(i));
 #else
-	register int h = 1;
+	int h = 1;
 
 	if (i == 0)
 		return (0);


More information about the svn-src-all mailing list