cvs commit: src/sys/sys cdefs.h systm.h

Poul-Henning Kamp phk at FreeBSD.org
Mon Jul 21 11:35:53 PDT 2003


phk         2003/07/21 11:35:51 PDT

  FreeBSD src repository

  Modified files:
    sys/sys              cdefs.h systm.h 
  Log:
  Add a new macro __nonnull(x) to use the new GCC33 attribute which checks
  that an argument is not a NULL pointer.
  
  Apply various obvious places.
  
  I belive __printf*() implies __nonnull() so it is not needed on functions
  already tagged that way.
  
  Revision  Changes    Path
  1.72      +6 -0      src/sys/sys/cdefs.h
  1.195     +16 -16    src/sys/sys/systm.h


More information about the cvs-src mailing list