cvs commit: src/sys/sys sx.h

Bruce Evans bde at FreeBSD.org
Wed Feb 4 06:18:23 PST 2004


bde         2004/02/04 06:18:21 PST

  FreeBSD src repository

  Modified files:
    sys/sys              sx.h 
  Log:
  Include <sys/queue.h> before <sys/_lock.h> instead of depending on
  namespace pollution in other headers.  <sys/types.h> is now the only
  prerequisite for <sys/sx.h>.
  
  Fixed some style bugs:
  - removed bogus LOCORE ifdef.  Including this C header in assembler
    sources is just nonsense.
  - removed unused include of <sys/_mutex.h>.  It finished rotting when
    the mutex in struct sx became indirect in rev.1.15.
  - removed most comments on #else and #endif's and cleaned up the others.
    All were misindented...
  
  Revision  Changes    Path
  1.19      +7 -8      src/sys/sys/sx.h


More information about the cvs-src mailing list