DragonFly commits List (threaded) for 2009-09
DragonFly BSD
DragonFly commits List (threaded) for 2009-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: atomic.h: use system namespace for function arguments


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Sep 2009 07:56:38 -0700 (PDT)

commit 46037fcb88973e1dff0489196126c58baf69e7f5
Author: Simon Schubert <corecode@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]