]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/fritz-dsl-gcc-4-fix.patch
FritzCard-Module installiert.
[people/pmueller/ipfire-2.x.git] / src / patches / fritz-dsl-gcc-4-fix.patch
1 --- src/tools.h~ 2007-01-02 18:28:19.000000000 +0100
2 +++ src/tools.h 2007-01-06 18:12:16.000000000 +0100
3 @@ -71,12 +71,12 @@
4
5 /*---------------------------------------------------------------------------*\
6 \*---------------------------------------------------------------------------*/
7 -static inline unsigned long atomic_xchg (
8 +/* static inline unsigned long atomic_xchg (
9 volatile atomic_t * v,
10 unsigned value
11 ) {
12 return __xchg (value, &v->counter, sizeof (unsigned));
13 -} /* atomic_xchg */
14 +} */ /* atomic_xchg */
15
16 /*---------------------------------------------------------------------------*\
17 \*---------------------------------------------------------------------------*/