git: atomic.h: use system namespace for function arguments
Simon Schubert
corecode at crater.dragonflybsd.org
Sat Sep 12 07:57:45 PDT 2009
commit 46037fcb88973e1dff0489196126c58baf69e7f5
Author: Simon Schubert <corecode at dragonflybsd.org>
Date: Sat Sep 12 16:41:25 2009 +0200
atomic.h: use system namespace for function arguments
We shouldn't use non-system arguments for function arguments in headers,
since it might collide with other symbols. In this case it collided
with exp(3) from math.h, both included by top(1) (with indirections).
Reported-by: swildner@
Summary of changes:
sys/cpu/amd64/include/atomic.h | 12 ++++++------
sys/cpu/i386/include/atomic.h | 18 +++++++++---------
2 files changed, 15 insertions(+), 15 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/46037fcb88973e1dff0489196126c58baf69e7f5
--
DragonFly BSD source repository
More information about the Commits
mailing list