Remove various ABS() definitions with a single one using typeof (if using gcc) to...
commit105af75dcd05f6b15b51db0ca8db21b5c03d0560
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 3 Aug 2009 01:38:58 +0000 (3 01:38 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 3 Aug 2009 01:38:58 +0000 (3 01:38 +0000)
tree2b70dd38cfa86f04028556eaaeff383e3afc381e
parent5af5e7ddbaf474f1b2c2a4dd7fd2ea01f2229c93
Remove various ABS() definitions with a single one using typeof (if using gcc) to avoid multiple evaluations of the input expressions. Speex still uses its own as I didn't want to change this imported code too much.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22129 a1c6a512-1295-4272-9138-f99709370657
apps/codecs/lib/codeclib.h
apps/codecs/libspeex/arch.h
apps/gui/pitchscreen.c
apps/plugins/calculator.c
apps/plugins/chessbox/gnuchess.c
apps/plugins/invadrox.c
apps/plugins/lib/buflib.c
apps/plugins/spacerocks.c
firmware/include/stdlib.h