git: Remove 'register' qualifier

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 10 09:56:40 PDT 2019


commit 1705e1a119c6a8293f227110946016b92c59b046
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Sep 10 09:51:20 2019 -0700

    Remove 'register' qualifier
    
    * Not allowed in c++17, and no longer has any usefulness
      given that modern compilers already optimize variables
      into registers extremely well.
    
    Reported-by: zrj

Summary of changes:
 sys/cpu/x86_64/include/endian.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1705e1a119c6a8293f227110946016b92c59b046


-- 
DragonFly BSD source repository



More information about the Commits mailing list