cvs commit: src/sys/sys cdefs.h

Joerg Sonnenberger joerg at
Wed Feb 16 13:51:08 PST 2005

joerg       2005/02/16 13:50:00 PST

DragonFly src repository

  Modified files:
    sys/sys              cdefs.h 
  Add __pure as attribute. A __pure function can only depend on the
  arguments, not on global memory. A __pure2 function in contrast
  just has to return the same value for the same arguments. It can
  use a hash table or similiar means.
  For GCC before 3.0 __pure is mapped to __pure2.
  Inspired-by: FreeBSD
  Revision  Changes    Path
  1.15      +7 -0      src/sys/sys/cdefs.h

More information about the Commits mailing list