]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/fritz-dsl-gcc-4-fix.patch
Wir kehren zurueck zu Kudzu, da hwinfo noch mehr Aerger macht.
[people/teissler/ipfire-2.x.git] / src / patches / fritz-dsl-gcc-4-fix.patch
CommitLineData
05207d69
MT
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 \*---------------------------------------------------------------------------*/