DragonFly commits List (threaded) for 2005-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/sys cdefs.h
joerg 2005/02/16 13:50:00 PST
DragonFly src repository
Modified files:
sys/sys cdefs.h
Log:
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
http://www.dragonflybsd.org/cvsweb/src/sys/sys/cdefs.h.diff?r1=1.14&r2=1.15&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]