Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 2018 20:24:17 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   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
Message-ID:  <201801012024.w01KOH4v031010@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/11/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h
Directory Properties:
  stable/11/   (props changed)

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

Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h	Mon Jan  1 19:34:19 2018	(r327469)
+++ stable/11/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);



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