Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2002 06:48:22 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys vnode.h
Message-ID:  <200209101348.g8ADmMbR059190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2002/09/10 06:48:22 PDT

  Modified files:
    sys/sys              vnode.h 
  Log:
  Fixed namespace pollution in uma changes:
  - use `struct uma_zone *' instead of uma_zone_t, so that <sys/uma.h> isn't
    a prerequisite.
  - don't include <sys/uma.h>.
  Namespace pollution makes "opaque" types like uma_zone_t perfectly
  non-opaque.  Such types should never be used (see style(9)).
  
  "Fixed" subsequently grown dependencies of this header on its own
  pollution by polluting explicitly:
  - include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of
    depending on namespace pollution 2 layers deep in <sys/uma.h>.
  
  Revision  Changes    Path
  1.207     +3 -2      src/sys/sys/vnode.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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