Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 20:25:00 +0100
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        freebsd-arm@freebsd.org
Cc:        Bernd Walter <ticso@cicely12.cicely.de>
Subject:   atomic_add_long and others missing
Message-ID:  <20061213192500.GX75351@cicely12.cicely.de>

next in thread | raw e-mail | index | archive | help
Netgraph expects further atomic functions:
../../../netgraph/ng_base.c: In function `ng_dequeue':
../../../netgraph/ng_base.c:1944: warning: implicit declaration of function `atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: nested extern declaration of `atomic_add_long'
../../../netgraph/ng_base.c:1951: warning: nested extern declaration of `atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here
../../../netgraph/ng_base.c: In function `ng_queue_rw':
../../../netgraph/ng_base.c:1991: warning: nested extern declaration of `atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here
../../../netgraph/ng_base.c: In function `ng_acquire_read':
../../../netgraph/ng_base.c:2031: warning: nested extern declaration of `atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here
../../../netgraph/ng_base.c:2039: warning: implicit declaration of function `atomic_subtract_long'
../../../netgraph/ng_base.c:2039: warning: nested extern declaration of `atomic_subtract_long'
../../../netgraph/ng_base.c: In function `ng_acquire_write':
../../../netgraph/ng_base.c:2083: warning: nested extern declaration of `atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here
../../../netgraph/ng_base.c:2087: warning: nested extern declaration of `atomic_subtract_long'
../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long'
../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here
../../../netgraph/ng_base.c: In function `ng_leave_read':
../../../netgraph/ng_base.c:2107: warning: nested extern declaration of `atomic_subtract_long'
../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long'
../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here
../../../netgraph/ng_base.c: In function `ng_leave_write':
../../../netgraph/ng_base.c:2113: warning: nested extern declaration of `atomic_subtract_long'
../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long'
../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here
../../../netgraph/ng_base.c: In function `ng_flush_input_queue':
../../../netgraph/ng_base.c:2127: warning: nested extern declaration of `atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long'
../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here
*** Error code 1

I've #define'ed them localy to _32, but I suspect that there are
more missing.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd@bwct.de           info@bwct.de            support@fizon.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061213192500.GX75351>