switch from typeof to the more portable __typeof__ lede-17.01
authorFelix Fietkau <nbd@nbd.name>
Sat, 7 Apr 2018 13:21:25 +0000 (15:21 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 16 Nov 2018 16:10:20 +0000 (17:10 +0100)
commit4382c76d1f225e462c6adf37e577fea0d046b854
treea805015bc27c4beae41e373aba78a6b9f04a8b35
parent1dafcd7813f147811a6bbdb00eec603fe732aac1
switch from typeof to the more portable __typeof__

Depending on the existance/lack of container_of define including libubox
or uci headers (e.g. #include <uci.h>) could result in compilation
errors like:
staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/usr/include/uci.h:643:10: error: expected declaration specifiers or '...' before '(' token
   return uci_to_package(e);
staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/usr/include/uci.h:643:10: error: '__mptr' undeclared (first use in this function)
   return uci_to_package(e);

Signed-off-by: Felix Fietkau <nbd@nbd.name>
[rmilecki: add commit description]
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit ace64897d47b9bc7af277d8a3f8a0ff67976cba8)
avl.h
list.h