cvs commit: src/sys/boot/arm/at91/inc AT91RM9200.h

Warner Losh imp at
Thu Apr 13 17:34:26 UTC 2006

imp         2006-04-13 17:34:23 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/arm/at91/inc AT91RM9200.h 
  Merge from p4:
  Many places used #define FOO ((unsigned int) 0x23) where a simpler
  #define FOO 0x23u would have sufficed.  This practice is overly
  verbose and has the disadvantage that you can't say
          #if FOO == BAR
  because the extra "unsigned int" tokens choke cpp's little brain.
  Migrate to the latter style to allow use in preprocessor statements.
  The two are the same semantically anyway in a C context (at least for
  the uses they are put to presently, C gurus can explain to me how they
  Revision  Changes      Path
  1.2       +1084 -1084  src/sys/boot/arm/at91/inc/AT91RM9200.h

More information about the cvs-src mailing list