From dc7620b4b70f8ca09d09f6a8144c8cbb62a3ca92 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Thu, 15 Aug 2013 20:08:18 +0200 Subject: [PATCH] fixing ifdef/elif construct around prototypes in transceiver.c --- sys/transceiver/transceiver.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sys/transceiver/transceiver.c b/sys/transceiver/transceiver.c index bc96c6d35d..83de9a764a 100644 --- a/sys/transceiver/transceiver.c +++ b/sys/transceiver/transceiver.c @@ -102,14 +102,18 @@ static void run(void); static void receive_packet(uint16_t type, uint8_t pos); #ifdef MODULE_CC110X_NG static void receive_cc110x_packet(radio_packet_t *trans_p); -#elif MODULE_CC110X +#endif +#ifdef MODULE_CC110X void cc1100_packet_monitor(void *payload, int payload_size, protocol_t protocol, packet_info_t *packet_info); void receive_cc1100_packet(radio_packet_t *trans_p); -#elif MODULE_CC2420 +#endif +#ifdef MODULE_CC2420 static void receive_cc2420_packet(radio_packet_t *trans_p); -#elif MODULE_NATIVENET +#endif +#ifdef MODULE_NATIVENET static void receive_nativenet_packet(radio_packet_t *trans_p); -#elif MODULE_AT86RF231 +#endif +#ifdef MODULE_AT86RF231 void receive_at86rf231_packet(radio_packet_t *trans_p); #endif static uint8_t send_packet(transceiver_type_t t, void *pkt);