Remove vec_sort macro 32/332/1
authorDamjan Marion <damarion@cisco.com>
Tue, 16 Feb 2016 16:32:34 +0000 (17:32 +0100)
committerDamjan Marion <damarion@cisco.com>
Tue, 16 Feb 2016 16:36:49 +0000 (17:36 +0100)
commitd0386374d6759a3f056a604060140acd7c66926f
tree5f28c972377e9b2aef7d787a983d281653addada
parentd8ff0e1dc7a1d7a6d24f16a5318b7fded908d2c5
Remove vec_sort macro

vec_sort macro was using gcc proprietary nested functions that
require a executable stack and they are considered as unsafe.
Also, nested functions are not supported by other compilers.
vec_sort_with_function() should be used instead.

Change-Id: I05959da63d222ec71c090ba63420b427ce10c79b
Signed-off-by: Damjan Marion <damarion@cisco.com>
vppinfra/vppinfra/vec.h