9615 loader: cstyle fixes for some common files

Review Request #1114 — Created June 16, 2018 and submitted

tsoome
illumos-gate
9615
1113
ddeab87...
general
Based on https://svnweb.freebsd.org/base?view=revision&revision=r329019


yuripv
  1. 
      
  2. usr/src/boot/sys/boot/common/boot.c (Diff revision 1)
     
     

    Not related to cstyle changes...

    That's really weird use of static -- why do we use it here and then discard the value?

    1. Or it's just me being tired and stupid :-) (and not the code), sorry for the noise.

    2. "The keyword static acts to extend the lifetime of a variable to the lifetime of the programme; e.g. initialization occurs once and once only and then the variable retains its value..."
      source

  3. 
      
yuripv
  1. Ship It!
  2. 
      
kmays
  1. Ship It!
  2. 
      
domag02
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...