diff --git a/cpu/kinetis/periph/i2c.c b/cpu/kinetis/periph/i2c.c index 73254f8940..6da48d538b 100644 --- a/cpu/kinetis/periph/i2c.c +++ b/cpu/kinetis/periph/i2c.c @@ -38,11 +38,11 @@ #define ENABLE_DEBUG 0 /* Define ENABLE_TRACE to 1 to enable printing of all TX/RX bytes to UART for extra verbose debugging */ -#define ENABLE_TRACE (1) +#define ENABLE_TRACE 1 /* Define ENABLE_INIT_DEBUG to 1 to enable DEBUG prints in i2c_init. Currently * this causes the system to hang when running i2c_init during boot because of * uninitialized stdio UART */ -#define ENABLE_INIT_DEBUG (0) +#define ENABLE_INIT_DEBUG 0 #include "debug.h" #if ENABLE_TRACE diff --git a/sys/analog_util/adc_util.c b/sys/analog_util/adc_util.c index ba1ca7c9c4..1860716197 100644 --- a/sys/analog_util/adc_util.c +++ b/sys/analog_util/adc_util.c @@ -28,7 +28,7 @@ #include "analog_util.h" #include "assert.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/auto_init/can/init.c b/sys/auto_init/can/init.c index 7ce060490b..c3d7c34242 100644 --- a/sys/auto_init/can/init.c +++ b/sys/auto_init/can/init.c @@ -20,7 +20,7 @@ #include -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "can/dll.h" diff --git a/sys/auto_init/multimedia/auto_init_dfplayer.c b/sys/auto_init/multimedia/auto_init_dfplayer.c index 4b12190c84..c92711122a 100644 --- a/sys/auto_init/multimedia/auto_init_dfplayer.c +++ b/sys/auto_init/multimedia/auto_init_dfplayer.c @@ -25,7 +25,7 @@ #include "dfplayer.h" #include "dfplayer_params.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/auto_init/security/auto_init_atca.c b/sys/auto_init/security/auto_init_atca.c index 416e4d3083..a625c5aebd 100644 --- a/sys/auto_init/security/auto_init_atca.c +++ b/sys/auto_init/security/auto_init_atca.c @@ -20,7 +20,7 @@ #include "atca.h" #include "atca_params.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define ATCA_NUMOF (ARRAY_SIZE(atca_params)) diff --git a/sys/can/conn/isotp.c b/sys/can/conn/isotp.c index 3bc202f7d6..6a0acd20dd 100644 --- a/sys/can/conn/isotp.c +++ b/sys/can/conn/isotp.c @@ -29,7 +29,7 @@ #include "utlist.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "xtimer.h" diff --git a/sys/can/conn/raw.c b/sys/can/conn/raw.c index 08c6ea3ee2..0ba60c2c25 100644 --- a/sys/can/conn/raw.c +++ b/sys/can/conn/raw.c @@ -25,7 +25,7 @@ #include "can/raw.h" #include "timex.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "xtimer.h" diff --git a/sys/can/device.c b/sys/can/device.c index 07afd9a40f..713356dab5 100644 --- a/sys/can/device.c +++ b/sys/can/device.c @@ -31,7 +31,7 @@ #include "can/can_trx.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #ifndef CAN_DEVICE_MSG_QUEUE_SIZE diff --git a/sys/can/dll.c b/sys/can/dll.c index f918208e0b..d1ea773735 100644 --- a/sys/can/dll.c +++ b/sys/can/dll.c @@ -36,7 +36,7 @@ #include "can/router.h" #include "utlist.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static candev_dev_t *candev_list[CAN_DLL_NUMOF]; diff --git a/sys/can/isotp/isotp.c b/sys/can/isotp/isotp.c index dfc6a4f305..5142acfe8c 100644 --- a/sys/can/isotp/isotp.c +++ b/sys/can/isotp/isotp.c @@ -31,7 +31,7 @@ #include "timex.h" #include "utlist.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #ifndef CAN_ISOTP_MSG_QUEUE_SIZE diff --git a/sys/can/pkt.c b/sys/can/pkt.c index 14747d7d70..b91863aa87 100644 --- a/sys/can/pkt.c +++ b/sys/can/pkt.c @@ -26,7 +26,7 @@ #include "can/pkt.h" #include "mutex.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define HANDLE_UNUSED 0 diff --git a/sys/can/router.c b/sys/can/router.c index b009d6f5cb..316b87f1b8 100644 --- a/sys/can/router.c +++ b/sys/can/router.c @@ -34,10 +34,11 @@ #include "mbox.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if ENABLE_DEBUG +/* For PRIu16 etc. */ #include #endif diff --git a/sys/clif/clif.c b/sys/clif/clif.c index 74a817db3f..029aec3b9e 100644 --- a/sys/clif/clif.c +++ b/sys/clif/clif.c @@ -24,7 +24,7 @@ #include "clif.h" #include "clif_internal.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* returns the correspondent attribute string */ diff --git a/sys/color/color.c b/sys/color/color.c index c36e06ce98..2de73596ec 100644 --- a/sys/color/color.c +++ b/sys/color/color.c @@ -22,7 +22,7 @@ #include "color.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" void color_rgb2hsv(color_rgb_t *rgb, color_hsv_t *hsv) diff --git a/sys/ecc/golay2412.c b/sys/ecc/golay2412.c index 43d01ed922..320a9fdd92 100644 --- a/sys/ecc/golay2412.c +++ b/sys/ecc/golay2412.c @@ -45,7 +45,7 @@ #include "bitarithm.h" #include "ecc/golay2412.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if ENABLE_DEBUG diff --git a/sys/ecc/hamming256.c b/sys/ecc/hamming256.c index 293163874e..56b57c8e6f 100644 --- a/sys/ecc/hamming256.c +++ b/sys/ecc/hamming256.c @@ -40,7 +40,7 @@ #include -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "ecc/hamming256.h" #include "bitarithm.h" diff --git a/sys/evtimer/evtimer.c b/sys/evtimer/evtimer.c index 7ec9beb800..b9f78afcf7 100644 --- a/sys/evtimer/evtimer.c +++ b/sys/evtimer/evtimer.c @@ -27,7 +27,7 @@ #include "evtimer.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static void _add_event_to_list(evtimer_t *evtimer, evtimer_event_t *event) diff --git a/sys/frac/frac.c b/sys/frac/frac.c index e706da4426..121ea63a90 100644 --- a/sys/frac/frac.c +++ b/sys/frac/frac.c @@ -21,7 +21,7 @@ #include "frac.h" #include "bitarithm.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" uint32_t gcd32(uint32_t u, uint32_t v) diff --git a/sys/fs/constfs/constfs.c b/sys/fs/constfs/constfs.c index ee05b40166..4048d196fb 100644 --- a/sys/fs/constfs/constfs.c +++ b/sys/fs/constfs/constfs.c @@ -29,7 +29,7 @@ #include "fs/constfs.h" #include "vfs.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* File system operations */ diff --git a/sys/fs/devfs/auto_init_devfs.c b/sys/fs/devfs/auto_init_devfs.c index 3237d066ce..7fa4d8eb49 100644 --- a/sys/fs/devfs/auto_init_devfs.c +++ b/sys/fs/devfs/auto_init_devfs.c @@ -23,7 +23,7 @@ #include "fs/devfs.h" #include "random-vfs.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static vfs_mount_t _devfs_auto_init_mount = { diff --git a/sys/fs/devfs/devfs.c b/sys/fs/devfs/devfs.c index a2309e3406..7c54fb9002 100644 --- a/sys/fs/devfs/devfs.c +++ b/sys/fs/devfs/devfs.c @@ -29,7 +29,7 @@ #include "vfs.h" #include "mutex.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/irq_handler/irq_handler.c b/sys/irq_handler/irq_handler.c index e901061f4d..c303273b89 100644 --- a/sys/irq_handler/irq_handler.c +++ b/sys/irq_handler/irq_handler.c @@ -12,7 +12,7 @@ #include "irq_handler.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* Stack for the interrupt event handler thread */ diff --git a/sys/matstat/matstat.c b/sys/matstat/matstat.c index 35f549c188..a39aee19cc 100644 --- a/sys/matstat/matstat.c +++ b/sys/matstat/matstat.c @@ -9,7 +9,7 @@ #include #include "matstat.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" void matstat_clear(matstat_state_t *state) diff --git a/sys/memarray/memarray.c b/sys/memarray/memarray.c index f12c1856d6..9c1069726a 100644 --- a/sys/memarray/memarray.c +++ b/sys/memarray/memarray.c @@ -10,7 +10,7 @@ #include #include "memarray.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" void memarray_init(memarray_t *mem, void *data, size_t size, size_t num) diff --git a/sys/net/application_layer/asymcute/asymcute.c b/sys/net/application_layer/asymcute/asymcute.c index e53097c5c1..8dbc9000ae 100644 --- a/sys/net/application_layer/asymcute/asymcute.c +++ b/sys/net/application_layer/asymcute/asymcute.c @@ -28,7 +28,7 @@ #include "net/asymcute.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define PROTOCOL_VERSION (0x01) diff --git a/sys/net/application_layer/cord/common/cord_common.c b/sys/net/application_layer/cord/common/cord_common.c index 347d44bfea..19c3900ae9 100644 --- a/sys/net/application_layer/cord/common/cord_common.c +++ b/sys/net/application_layer/cord/common/cord_common.c @@ -24,7 +24,7 @@ #include "net/gcoap.h" #include "net/cord/common.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" diff --git a/sys/net/application_layer/cord/ep/cord_ep.c b/sys/net/application_layer/cord/ep/cord_ep.c index 1495a7ebba..bd60b4c4d0 100644 --- a/sys/net/application_layer/cord/ep/cord_ep.c +++ b/sys/net/application_layer/cord/ep/cord_ep.c @@ -34,7 +34,7 @@ #include "net/cord/ep_standalone.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define FLAG_SUCCESS (0x0001) diff --git a/sys/net/application_layer/cord/ep/cord_ep_standalone.c b/sys/net/application_layer/cord/ep/cord_ep_standalone.c index 1d38f9d78c..c671db3941 100644 --- a/sys/net/application_layer/cord/ep/cord_ep_standalone.c +++ b/sys/net/application_layer/cord/ep/cord_ep_standalone.c @@ -28,7 +28,7 @@ #include "net/cord/config.h" #include "net/cord/ep_standalone.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* stack configuration */ diff --git a/sys/net/application_layer/cord/lc/cord_lc.c b/sys/net/application_layer/cord/lc/cord_lc.c index 18dc084124..fa5323f125 100644 --- a/sys/net/application_layer/cord/lc/cord_lc.c +++ b/sys/net/application_layer/cord/lc/cord_lc.c @@ -27,7 +27,7 @@ #include "net/gcoap.h" #include "net/cord/lc.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define FLAG_SUCCESS (0x0001) diff --git a/sys/net/application_layer/dhcpv6/client.c b/sys/net/application_layer/dhcpv6/client.c index 53facef327..763f490825 100644 --- a/sys/net/application_layer/dhcpv6/client.c +++ b/sys/net/application_layer/dhcpv6/client.c @@ -26,7 +26,7 @@ #include "xtimer.h" #include "xtimer/implementation.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "_dhcpv6.h" diff --git a/sys/net/application_layer/emcute/emcute.c b/sys/net/application_layer/emcute/emcute.c index 7ef7b272e0..b50aed81b6 100644 --- a/sys/net/application_layer/emcute/emcute.c +++ b/sys/net/application_layer/emcute/emcute.c @@ -32,7 +32,7 @@ #include "net/mqttsn.h" #include "emcute_internal.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define PROTOCOL_VERSION (0x01) diff --git a/sys/net/application_layer/gcoap/gcoap.c b/sys/net/application_layer/gcoap/gcoap.c index 56d8d6d5d6..efcd2a64d3 100644 --- a/sys/net/application_layer/gcoap/gcoap.c +++ b/sys/net/application_layer/gcoap/gcoap.c @@ -33,7 +33,7 @@ #include "random.h" #include "thread.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* Return values used by the _find_resource function. */ diff --git a/sys/net/application_layer/nanocoap/nanocoap.c b/sys/net/application_layer/nanocoap/nanocoap.c index 6e076e4d06..8d62d987cc 100644 --- a/sys/net/application_layer/nanocoap/nanocoap.c +++ b/sys/net/application_layer/nanocoap/nanocoap.c @@ -29,7 +29,7 @@ #include "bitarithm.h" #include "net/nanocoap.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/net/application_layer/nanocoap/sock.c b/sys/net/application_layer/nanocoap/sock.c index 1860a292bc..11aa3a6e85 100644 --- a/sys/net/application_layer/nanocoap/sock.c +++ b/sys/net/application_layer/nanocoap/sock.c @@ -28,7 +28,7 @@ #include "net/sock/udp.h" #include "timex.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" ssize_t nanocoap_request(coap_pkt_t *pkt, sock_udp_ep_t *local, sock_udp_ep_t *remote, size_t len) diff --git a/sys/net/application_layer/sntp/sntp.c b/sys/net/application_layer/sntp/sntp.c index 9d547faab4..ec6ee6b5b0 100644 --- a/sys/net/application_layer/sntp/sntp.c +++ b/sys/net/application_layer/sntp/sntp.c @@ -26,7 +26,7 @@ #include "mutex.h" #include "byteorder.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static sock_udp_t _sntp_sock; diff --git a/sys/net/ble/skald/skald.c b/sys/net/ble/skald/skald.c index c8eabc24c4..b85952edda 100644 --- a/sys/net/ble/skald/skald.c +++ b/sys/net/ble/skald/skald.c @@ -36,7 +36,7 @@ #error "[skald] error: unable to find any netdev-ble capable radio" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define JITTER_MIN (0U) /* 0ms */ diff --git a/sys/net/credman/credman.c b/sys/net/credman/credman.c index eb89b9220e..c165d5938b 100644 --- a/sys/net/credman/credman.c +++ b/sys/net/credman/credman.c @@ -22,7 +22,7 @@ #include #include -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static mutex_t _mutex = MUTEX_INIT; diff --git a/sys/net/crosslayer/inet_csum/inet_csum.c b/sys/net/crosslayer/inet_csum/inet_csum.c index c9cd7c7e78..7e47455450 100644 --- a/sys/net/crosslayer/inet_csum/inet_csum.c +++ b/sys/net/crosslayer/inet_csum/inet_csum.c @@ -17,7 +17,7 @@ #include "od.h" #include "net/inet_csum.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" uint16_t inet_csum_slice(uint16_t sum, const uint8_t *buf, uint16_t len, size_t accum_len) diff --git a/sys/net/gnrc/application_layer/dhcpv6/client.c b/sys/net/gnrc/application_layer/dhcpv6/client.c index 6788ba6871..9dfd1629b4 100644 --- a/sys/net/gnrc/application_layer/dhcpv6/client.c +++ b/sys/net/gnrc/application_layer/dhcpv6/client.c @@ -28,7 +28,7 @@ #include "net/dhcpv6/client.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static char addr_str[IPV6_ADDR_MAX_STR_LEN]; diff --git a/sys/net/gnrc/link_layer/gomach/timeout.c b/sys/net/gnrc/link_layer/gomach/timeout.c index c7cc8a2bd6..9d1523679b 100644 --- a/sys/net/gnrc/link_layer/gomach/timeout.c +++ b/sys/net/gnrc/link_layer/gomach/timeout.c @@ -24,7 +24,7 @@ #include "net/gnrc/gomach/timeout.h" #include "net/gnrc/gomach/types.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* Return index >= 0 if found, -ENONENT if not found. */ diff --git a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan.c b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan.c index fc5bd3b385..5d68f246d8 100644 --- a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan.c +++ b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan.c @@ -26,7 +26,7 @@ #include "net/loramac.h" #include "net/gnrc/lorawan/region.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* This factor is used for converting "real" seconds into microcontroller diff --git a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mcps.c b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mcps.c index 7ebd8412b6..09f55f4bf5 100644 --- a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mcps.c +++ b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mcps.c @@ -26,7 +26,7 @@ #include "random.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define _16_UPPER_BITMASK 0xFFFF0000 diff --git a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mlme.c b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mlme.c index 9993b07f50..46829b026f 100644 --- a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mlme.c +++ b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mlme.c @@ -27,7 +27,7 @@ #include "net/lorawan/hdr.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static void _build_join_req_pkt(uint8_t *appeui, uint8_t *deveui, diff --git a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_region.c b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_region.c index 4f885bb8f4..69441469c4 100644 --- a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_region.c +++ b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_region.c @@ -15,7 +15,7 @@ #include "kernel_defines.h" #include "net/gnrc/lorawan/region.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define GNRC_LORAWAN_DATARATES_NUMOF (6U) diff --git a/sys/net/gnrc/link_layer/lwmac/lwmac_internal.c b/sys/net/gnrc/link_layer/lwmac/lwmac_internal.c index d2475c50ff..112228ec7a 100644 --- a/sys/net/gnrc/link_layer/lwmac/lwmac_internal.c +++ b/sys/net/gnrc/link_layer/lwmac/lwmac_internal.c @@ -30,7 +30,7 @@ #include "net/gnrc/netif/ieee802154.h" #include "net/netdev/ieee802154.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" int _gnrc_lwmac_transmit(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt) diff --git a/sys/net/gnrc/link_layer/lwmac/rx_state_machine.c b/sys/net/gnrc/link_layer/lwmac/rx_state_machine.c index c706138180..8cb136d4c1 100644 --- a/sys/net/gnrc/link_layer/lwmac/rx_state_machine.c +++ b/sys/net/gnrc/link_layer/lwmac/rx_state_machine.c @@ -28,7 +28,7 @@ #include "include/rx_state_machine.h" #include "include/lwmac_internal.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #ifndef LOG_LEVEL diff --git a/sys/net/gnrc/link_layer/lwmac/timeout.c b/sys/net/gnrc/link_layer/lwmac/timeout.c index 67db7437ee..73e4357fa4 100644 --- a/sys/net/gnrc/link_layer/lwmac/timeout.c +++ b/sys/net/gnrc/link_layer/lwmac/timeout.c @@ -24,7 +24,7 @@ #include "net/gnrc/lwmac/timeout.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static const char *lwmac_timeout_names[] = { diff --git a/sys/net/gnrc/link_layer/mac/internal.c b/sys/net/gnrc/link_layer/mac/internal.c index f3c8076737..47a49a2981 100644 --- a/sys/net/gnrc/link_layer/mac/internal.c +++ b/sys/net/gnrc/link_layer/mac/internal.c @@ -25,7 +25,7 @@ #include "net/gnrc.h" #include "net/gnrc/mac/internal.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if ((GNRC_MAC_TX_QUEUE_SIZE != 0) || (GNRC_MAC_RX_QUEUE_SIZE != 0)) diff --git a/sys/net/gnrc/link_layer/mac/timeout.c b/sys/net/gnrc/link_layer/mac/timeout.c index 1fc866eb3a..adac2d0761 100644 --- a/sys/net/gnrc/link_layer/mac/timeout.c +++ b/sys/net/gnrc/link_layer/mac/timeout.c @@ -24,7 +24,7 @@ #include "net/gnrc.h" #include "net/gnrc/mac/timeout.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" void gnrc_mac_init_timeouts(gnrc_mac_timeout_t *mac_timeout, diff --git a/sys/net/gnrc/netapi/gnrc_netapi.c b/sys/net/gnrc/netapi/gnrc_netapi.c index dc9d827264..9659168602 100644 --- a/sys/net/gnrc/netapi/gnrc_netapi.c +++ b/sys/net/gnrc/netapi/gnrc_netapi.c @@ -27,7 +27,7 @@ #include "net/gnrc/pktbuf.h" #include "net/gnrc/netapi.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" int _gnrc_netapi_get_set(kernel_pid_t pid, netopt_t opt, uint16_t context, diff --git a/sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c b/sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c index c69201f8ed..432acc2b9e 100644 --- a/sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c +++ b/sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c @@ -25,7 +25,7 @@ #include "net/ipv6/hdr.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if defined(MODULE_OD) && ENABLE_DEBUG diff --git a/sys/net/gnrc/netif/gnrc_netif.c b/sys/net/gnrc/netif/gnrc_netif.c index ac7d50c4ca..54ebcf8713 100644 --- a/sys/net/gnrc/netif/gnrc_netif.c +++ b/sys/net/gnrc/netif/gnrc_netif.c @@ -44,7 +44,7 @@ #include "net/gnrc/netif.h" #include "net/gnrc/netif/internal.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static void _update_l2addr_from_dev(gnrc_netif_t *netif); diff --git a/sys/net/gnrc/netif/gnrc_netif_raw.c b/sys/net/gnrc/netif/gnrc_netif_raw.c index 4c70a807c1..2a6d5188d2 100644 --- a/sys/net/gnrc/netif/gnrc_netif_raw.c +++ b/sys/net/gnrc/netif/gnrc_netif_raw.c @@ -17,7 +17,7 @@ #include "net/gnrc/netif/hdr.h" #include "net/gnrc/netif/raw.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define IP_VERSION_MASK (0xf0U) diff --git a/sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c b/sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c index 23b4c90eeb..2260a3c7e5 100644 --- a/sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c +++ b/sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c @@ -21,7 +21,7 @@ #include "net/ipv6/hdr.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if defined(MODULE_OD) && ENABLE_DEBUG diff --git a/sys/net/gnrc/netif/init_devs/auto_init_cc110x.c b/sys/net/gnrc/netif/init_devs/auto_init_cc110x.c index a6c7f5f88b..ca4d76c586 100644 --- a/sys/net/gnrc/netif/init_devs/auto_init_cc110x.c +++ b/sys/net/gnrc/netif/init_devs/auto_init_cc110x.c @@ -25,7 +25,8 @@ #include "log.h" #include "msg.h" #include "net/gnrc/netif/conf.h" /* <- GNRC_NETIF_MSG_QUEUE_SIZE */ -#define ENABLE_DEBUG (0) + +#define ENABLE_DEBUG 0 #include "debug.h" #ifndef CC110X_EXTRA_STACKSIZE diff --git a/sys/net/gnrc/netif/init_devs/auto_init_socket_zep.c b/sys/net/gnrc/netif/init_devs/auto_init_socket_zep.c index 511404c0c8..3218643d8b 100644 --- a/sys/net/gnrc/netif/init_devs/auto_init_socket_zep.c +++ b/sys/net/gnrc/netif/init_devs/auto_init_socket_zep.c @@ -22,7 +22,7 @@ #include "socket_zep_params.h" #include "net/gnrc/netif/ieee802154.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c b/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c index c8d2e516d5..44db786a6e 100644 --- a/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c +++ b/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c @@ -25,7 +25,7 @@ #include "net/loramac.h" #include "net/gnrc/netreg.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static uint8_t _nwkskey[LORAMAC_NWKSKEY_LEN] = LORAMAC_NWK_SKEY_DEFAULT; diff --git a/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c b/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c index 3dab8b777d..ef4e1ae4c6 100644 --- a/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c +++ b/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c @@ -20,7 +20,7 @@ #include "net/gnrc/ipv6/hdr.h" #include "utlist.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if ENABLE_DEBUG diff --git a/sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c b/sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c index a7a6e3e585..4ce9ec5be8 100644 --- a/sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c +++ b/sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c @@ -21,7 +21,7 @@ #include "net/gnrc/icmpv6/error.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* all error messages are basically the same size and format */ diff --git a/sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c b/sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c index c1ed9f0c14..ded5a9f15c 100644 --- a/sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c +++ b/sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c @@ -31,7 +31,7 @@ #include "net/gnrc/icmpv6.h" #include "net/gnrc/icmpv6/echo.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static inline uint16_t _calc_csum(gnrc_pktsnip_t *hdr, diff --git a/sys/net/gnrc/network_layer/ipv6/blacklist/gnrc_ipv6_blacklist.c b/sys/net/gnrc/network_layer/ipv6/blacklist/gnrc_ipv6_blacklist.c index 721b9ef252..a0d9b8e3f3 100644 --- a/sys/net/gnrc/network_layer/ipv6/blacklist/gnrc_ipv6_blacklist.c +++ b/sys/net/gnrc/network_layer/ipv6/blacklist/gnrc_ipv6_blacklist.c @@ -19,7 +19,7 @@ #include "net/gnrc/ipv6/blacklist.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" ipv6_addr_t gnrc_ipv6_blacklist[CONFIG_GNRC_IPV6_BLACKLIST_SIZE]; diff --git a/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c b/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c index 7ba0fe1c01..769d845bd2 100644 --- a/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c +++ b/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c @@ -31,7 +31,7 @@ #include "net/gnrc/ipv6/ext/frag.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static gnrc_ipv6_ext_frag_send_t _snd_bufs[CONFIG_GNRC_IPV6_EXT_FRAG_SEND_SIZE]; diff --git a/sys/net/gnrc/network_layer/ipv6/ext/gnrc_ipv6_ext.c b/sys/net/gnrc/network_layer/ipv6/ext/gnrc_ipv6_ext.c index 3eb7bbe5af..80592159d8 100644 --- a/sys/net/gnrc/network_layer/ipv6/ext/gnrc_ipv6_ext.c +++ b/sys/net/gnrc/network_layer/ipv6/ext/gnrc_ipv6_ext.c @@ -35,7 +35,7 @@ #include "net/gnrc/ipv6/ext.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c b/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c index 0404a8af21..54cef17f43 100644 --- a/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c +++ b/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c @@ -23,7 +23,7 @@ #include "net/gnrc/ipv6/ext/opt.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c b/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c index 1084dfb346..c4cee6e16d 100644 --- a/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c +++ b/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c @@ -28,7 +28,7 @@ #include "net/gnrc/ipv6/ext/rh.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* unchecked precondition: hdr is gnrc_pktsnip_t::data of the diff --git a/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c b/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c index 62216d035c..c8b424230d 100644 --- a/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c +++ b/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c @@ -37,22 +37,25 @@ #include "net/gnrc/ipv6/ext/frag.h" #endif +#ifdef MODULE_FIB +#include "net/fib.h" +#include "net/fib/table.h" +#endif + #include "net/gnrc/ipv6.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" -#define _MAX_L2_ADDR_LEN (8U) - #if ENABLE_DEBUG static char _stack[GNRC_IPV6_STACK_SIZE + THREAD_EXTRA_STACKSIZE_PRINTF]; #else static char _stack[GNRC_IPV6_STACK_SIZE]; #endif +#define _MAX_L2_ADDR_LEN (8U) + #ifdef MODULE_FIB -#include "net/fib.h" -#include "net/fib/table.h" /** * @brief buffer to store the entries in the IPv6 forwarding table */ diff --git a/sys/net/gnrc/network_layer/ipv6/hdr/gnrc_ipv6_hdr.c b/sys/net/gnrc/network_layer/ipv6/hdr/gnrc_ipv6_hdr.c index e93be305eb..db888e7d9a 100644 --- a/sys/net/gnrc/network_layer/ipv6/hdr/gnrc_ipv6_hdr.c +++ b/sys/net/gnrc/network_layer/ipv6/hdr/gnrc_ipv6_hdr.c @@ -18,7 +18,7 @@ #include "net/gnrc/pktbuf.h" #include "net/protnum.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if defined(MODULE_IPV6_ADDR) diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c index 70dd4fbe19..cea439d7cf 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c @@ -23,7 +23,7 @@ #include "_nib-6ln.h" #include "_nib-6lr.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_6LN) diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6lr.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6lr.c index 59b744bba6..1229a632a2 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6lr.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6lr.c @@ -22,7 +22,7 @@ #include "_nib-6lr.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_6LR) diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c index f93f48a04e..93add394c3 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c @@ -28,7 +28,7 @@ #include "_nib-router.h" #include "_nib-6lr.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static char addr_str[IPV6_ADDR_MAX_STR_LEN]; diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c index f5bacd74a4..f0278366cc 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c @@ -30,7 +30,7 @@ #include "_nib-internal.h" #include "_nib-router.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* pointers for default router selection */ diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c index a945ec3231..89956794e0 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c @@ -29,7 +29,7 @@ #endif /* CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C */ #include "_nib-router.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_ROUTER) diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c index 59192ea745..1771eb119f 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c @@ -24,7 +24,7 @@ #include "_nib-6ln.h" #include "_nib-arsm.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_6LN) || IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_SLAAC) diff --git a/sys/net/gnrc/network_layer/ipv6/nib/nib.c b/sys/net/gnrc/network_layer/ipv6/nib/nib.c index d86810c95e..7120423969 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/nib.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/nib.c @@ -40,8 +40,9 @@ #include "_nib-6lr.h" #include "_nib-slaac.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" + #if ENABLE_DEBUG #include "evtimer.h" #endif diff --git a/sys/net/gnrc/network_layer/ipv6/whitelist/gnrc_ipv6_whitelist.c b/sys/net/gnrc/network_layer/ipv6/whitelist/gnrc_ipv6_whitelist.c index a4180d5034..2f6b4e9de7 100644 --- a/sys/net/gnrc/network_layer/ipv6/whitelist/gnrc_ipv6_whitelist.c +++ b/sys/net/gnrc/network_layer/ipv6/whitelist/gnrc_ipv6_whitelist.c @@ -18,7 +18,7 @@ #include "net/gnrc/ipv6/whitelist.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" ipv6_addr_t gnrc_ipv6_whitelist[CONFIG_GNRC_IPV6_WHITELIST_SIZE]; diff --git a/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c b/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c index b9c451bd03..2f3129b76e 100644 --- a/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c +++ b/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c @@ -28,7 +28,7 @@ #include "timex.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* For PRIu8 etc. */ diff --git a/sys/net/gnrc/network_layer/sixlowpan/ctx/gnrc_sixlowpan_ctx.c b/sys/net/gnrc/network_layer/sixlowpan/ctx/gnrc_sixlowpan_ctx.c index 6985a2faba..4c3b896282 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/ctx/gnrc_sixlowpan_ctx.c +++ b/sys/net/gnrc/network_layer/sixlowpan/ctx/gnrc_sixlowpan_ctx.c @@ -19,7 +19,7 @@ #include "net/gnrc/sixlowpan/ctx.h" #include "xtimer.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static gnrc_sixlowpan_ctx_t _ctxs[GNRC_SIXLOWPAN_CTX_SIZE]; diff --git a/sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c b/sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c index d02761704a..454dd4d12b 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c +++ b/sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c @@ -27,7 +27,7 @@ #include "net/sixlowpan.h" #include "utlist.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if ENABLE_DEBUG diff --git a/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c b/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c index 2b5d066838..bd79ff760a 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c +++ b/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c @@ -36,7 +36,7 @@ #include "net/gnrc/sixlowpan/frag/rb.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* estimated fragment payload size to determinate RBUF_INT_SIZE, default to diff --git a/sys/net/gnrc/network_layer/sixlowpan/frag/vrb/gnrc_sixlowpan_frag_vrb.c b/sys/net/gnrc/network_layer/sixlowpan/frag/vrb/gnrc_sixlowpan_frag_vrb.c index 13fe556d00..00159c3228 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/frag/vrb/gnrc_sixlowpan_frag_vrb.c +++ b/sys/net/gnrc/network_layer/sixlowpan/frag/vrb/gnrc_sixlowpan_frag_vrb.c @@ -27,7 +27,7 @@ #endif /* MODULE_GNRC_SIXLOWPAN_FRAG_STATS */ #include "net/gnrc/sixlowpan/frag/vrb.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static gnrc_sixlowpan_frag_vrb_t _vrb[CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_SIZE]; diff --git a/sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c b/sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c index 79283643c2..e4649a5de7 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c +++ b/sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c @@ -27,7 +27,7 @@ #include "net/gnrc/netif.h" #include "net/sixlowpan.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static kernel_pid_t _pid = KERNEL_PID_UNDEF; diff --git a/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c b/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c index 13ecfa1a29..bfe6fe7fc4 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c +++ b/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c @@ -38,7 +38,7 @@ #include "net/gnrc/sixlowpan/iphc.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* dispatch byte definitions */ diff --git a/sys/net/gnrc/network_layer/sixlowpan/nd/gnrc_sixlowpan_nd.c b/sys/net/gnrc/network_layer/sixlowpan/nd/gnrc_sixlowpan_nd.c index b454bdcfa7..7aa10eb516 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/nd/gnrc_sixlowpan_nd.c +++ b/sys/net/gnrc/network_layer/sixlowpan/nd/gnrc_sixlowpan_nd.c @@ -24,7 +24,7 @@ #include "net/gnrc/sixlowpan/nd.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" gnrc_pktsnip_t *gnrc_sixlowpan_nd_opt_ar_build(uint8_t status, uint16_t ltime, eui64_t *eui64, diff --git a/sys/net/gnrc/pktbuf_malloc/gnrc_pktbuf_malloc.c b/sys/net/gnrc/pktbuf_malloc/gnrc_pktbuf_malloc.c index 776067dca5..33b9cdde77 100644 --- a/sys/net/gnrc/pktbuf_malloc/gnrc_pktbuf_malloc.c +++ b/sys/net/gnrc/pktbuf_malloc/gnrc_pktbuf_malloc.c @@ -33,7 +33,7 @@ #include "net/gnrc/nettype.h" #include "net/gnrc/pkt.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static mutex_t _mutex = MUTEX_INIT; diff --git a/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c b/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c index e9b34a4e84..73b96fe9c5 100644 --- a/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c +++ b/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c @@ -30,7 +30,7 @@ #include "net/gnrc/nettype.h" #include "net/gnrc/pkt.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define _ALIGNMENT_MASK (sizeof(_unused_t) - 1) diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl.c b/sys/net/gnrc/routing/rpl/gnrc_rpl.c index 5ad711f711..154b031632 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl.c @@ -34,7 +34,7 @@ #include "net/gnrc/rpl/p2p_dodag.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static char _stack[GNRC_RPL_STACK_SIZE]; diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_auto_init.c b/sys/net/gnrc/routing/rpl/gnrc_rpl_auto_init.c index e88ef84061..1944c23628 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_auto_init.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_auto_init.c @@ -23,7 +23,7 @@ #include "net/gnrc.h" #include "net/gnrc/rpl.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" void auto_init_gnrc_rpl(void) diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c b/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c index 38bfd48811..5ebbf22857 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c @@ -43,7 +43,7 @@ #include "net/gnrc/rpl/p2p.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static char addr_str[IPV6_ADDR_MAX_STR_LEN]; diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_dodag.c b/sys/net/gnrc/routing/rpl/gnrc_rpl_dodag.c index 5b82fb5e79..8b5e389c41 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_dodag.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_dodag.c @@ -34,7 +34,7 @@ #include "net/gnrc/rpl/p2p_dodag.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static char addr_str[IPV6_ADDR_MAX_STR_LEN]; diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_of_manager.c b/sys/net/gnrc/routing/rpl/gnrc_rpl_of_manager.c index 28842e74b9..1d1fa8db72 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_of_manager.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_of_manager.c @@ -24,7 +24,7 @@ #include "net/gnrc/rpl/of_manager.h" #include "of0.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* !!! TODO: port etx/mrhof to the new network stack */ diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_validation.c b/sys/net/gnrc/routing/rpl/gnrc_rpl_validation.c index 5b042a4e43..3ce6616e87 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_validation.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_validation.c @@ -20,7 +20,7 @@ #include "net/gnrc/rpl.h" #include "gnrc_rpl_internal/validation.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if ENABLE_DEBUG diff --git a/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c b/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c index 02f878c6d6..f28d5fb76e 100644 --- a/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c +++ b/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c @@ -27,7 +27,7 @@ #include "net/gnrc/rpl/p2p_structs.h" #include "net/gnrc/rpl/p2p_dodag.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if ENABLE_DEBUG diff --git a/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p_dodag.c b/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p_dodag.c index b0eb5e1e6b..5ba1438cb9 100644 --- a/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p_dodag.c +++ b/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p_dodag.c @@ -19,7 +19,7 @@ #include "net/gnrc/rpl/p2p_dodag.h" #include "net/gnrc/rpl/p2p_structs.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" gnrc_rpl_p2p_ext_t *gnrc_rpl_p2p_ext_new(gnrc_rpl_dodag_t *dodag) diff --git a/sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c b/sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c index 33826b1b7a..e8fe002caf 100644 --- a/sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c +++ b/sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c @@ -21,15 +21,15 @@ #include "net/gnrc/ipv6/ext/rh.h" #include "net/gnrc/rpl/srh.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" -static char addr_str[IPV6_ADDR_MAX_STR_LEN]; - #define GNRC_RPL_SRH_PADDING(X) ((X & 0xF0) >> 4) #define GNRC_RPL_SRH_COMPRE(X) (X & 0x0F) #define GNRC_RPL_SRH_COMPRI(X) ((X & 0xF0) >> 4) +static char addr_str[IPV6_ADDR_MAX_STR_LEN]; + /* checks if multiple addresses within the source routing header exist on my * interfaces */ static void *_contains_multiple_of_my_addr(const ipv6_addr_t *dst, diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c index f7674dc3af..495cfd77ef 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c @@ -39,7 +39,7 @@ #include "net/gnrc/ipv6.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define TCP_MSG_QUEUE_SIZE (1 << CONFIG_GNRC_TCP_MSG_QUEUE_SIZE_EXP) diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c index e75ad0028c..6f601e18fe 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c @@ -32,7 +32,7 @@ #include "net/gnrc/ipv6.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define TCP_EVENTLOOP_MSG_QUEUE_SIZE (1 << CONFIG_GNRC_TCP_EVENTLOOP_MSG_QUEUE_SIZE_EXP) diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c index 4eb62cbd7f..7e311da9bc 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c @@ -35,7 +35,7 @@ #include "net/gnrc/ipv6.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_option.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_option.c index 931eb66405..b2bc47735b 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_option.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_option.c @@ -19,7 +19,7 @@ #include "include/gnrc_tcp_common.h" #include "include/gnrc_tcp_option.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" int _gnrc_tcp_option_parse(gnrc_tcp_tcb_t *tcb, tcp_hdr_t *hdr) diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_pkt.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_pkt.c index 3c15dd74ac..70695d3e5c 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_pkt.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_pkt.c @@ -33,7 +33,7 @@ #include "net/gnrc/ipv6.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_rcvbuf.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_rcvbuf.c index 2fbfeda217..cff8a4d4cc 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_rcvbuf.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_rcvbuf.c @@ -22,7 +22,7 @@ #include "include/gnrc_tcp_common.h" #include "include/gnrc_tcp_rcvbuf.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/net/gnrc/transport_layer/udp/gnrc_udp.c b/sys/net/gnrc/transport_layer/udp/gnrc_udp.c index c6f486d5e1..ae24f7993f 100644 --- a/sys/net/gnrc/transport_layer/udp/gnrc_udp.c +++ b/sys/net/gnrc/transport_layer/udp/gnrc_udp.c @@ -31,8 +31,7 @@ #include "net/gnrc/icmpv6/error.h" #include "net/inet_csum.h" - -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/net/link_layer/csma_sender/csma_sender.c b/sys/net/link_layer/csma_sender/csma_sender.c index a79b8a2ea6..bf43528675 100644 --- a/sys/net/link_layer/csma_sender/csma_sender.c +++ b/sys/net/link_layer/csma_sender/csma_sender.c @@ -29,7 +29,7 @@ #include "net/csma_sender.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if ENABLE_DEBUG diff --git a/sys/net/link_layer/l2filter/l2filter.c b/sys/net/link_layer/l2filter/l2filter.c index b7df17a9e2..02b32584ae 100644 --- a/sys/net/link_layer/l2filter/l2filter.c +++ b/sys/net/link_layer/l2filter/l2filter.c @@ -23,7 +23,7 @@ #include "assert.h" #include "net/l2filter.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static inline bool match(const l2filter_t *filter, diff --git a/sys/net/network_layer/fib/fib.c b/sys/net/network_layer/fib/fib.c index 100242c4e7..f0f370b627 100644 --- a/sys/net/network_layer/fib/fib.c +++ b/sys/net/network_layer/fib/fib.c @@ -31,7 +31,7 @@ #include "timex.h" #include "utlist.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "net/fib.h" diff --git a/sys/oneway-malloc/oneway-malloc.c b/sys/oneway-malloc/oneway-malloc.c index dedb12bc0e..c79a199cc6 100644 --- a/sys/oneway-malloc/oneway-malloc.c +++ b/sys/oneway-malloc/oneway-malloc.c @@ -22,7 +22,7 @@ #include "malloc.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" extern void *sbrk(int incr); diff --git a/sys/pm_layered/pm.c b/sys/pm_layered/pm.c index 4f0765dd23..4b7c47b608 100644 --- a/sys/pm_layered/pm.c +++ b/sys/pm_layered/pm.c @@ -24,7 +24,7 @@ #include "periph/pm.h" #include "pm_layered.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #ifndef PM_NUM_MODES diff --git a/sys/posix/pthread/pthread.c b/sys/posix/pthread/pthread.c index c0544a9263..b78a4bade1 100644 --- a/sys/posix/pthread/pthread.c +++ b/sys/posix/pthread/pthread.c @@ -35,7 +35,7 @@ #include #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #ifndef CONFIG_PTHREAD_REAPER_BASE_STACKSIZE #define CONFIG_PTHREAD_REAPER_BASE_STACKSIZE (THREAD_STACKSIZE_IDLE) diff --git a/sys/posix/pthread/pthread_barrier.c b/sys/posix/pthread/pthread_barrier.c index 80731f3f60..158524182c 100644 --- a/sys/posix/pthread/pthread_barrier.c +++ b/sys/posix/pthread/pthread_barrier.c @@ -20,7 +20,7 @@ #include "sched.h" #include "pthread.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" int pthread_barrier_init(pthread_barrier_t *barrier, diff --git a/sys/posix/pthread/pthread_rwlock.c b/sys/posix/pthread/pthread_rwlock.c index 6e972a7468..200b412079 100644 --- a/sys/posix/pthread/pthread_rwlock.c +++ b/sys/posix/pthread/pthread_rwlock.c @@ -37,7 +37,7 @@ #include "thread.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" int pthread_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) diff --git a/sys/posix/pthread/pthread_tls.c b/sys/posix/pthread/pthread_tls.c index 5dc3fe764a..22c8f31c6c 100644 --- a/sys/posix/pthread/pthread_tls.c +++ b/sys/posix/pthread/pthread_tls.c @@ -22,7 +22,7 @@ #include #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" typedef struct __pthread_tls_datum { diff --git a/sys/posix/semaphore/posix_semaphore.c b/sys/posix/semaphore/posix_semaphore.c index b2f6bf995e..b5df5bc118 100644 --- a/sys/posix/semaphore/posix_semaphore.c +++ b/sys/posix/semaphore/posix_semaphore.c @@ -28,7 +28,7 @@ #include "thread.h" #include "xtimer.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "semaphore.h" diff --git a/sys/random/random.c b/sys/random/random.c index e304e6fa39..7c93312bb1 100644 --- a/sys/random/random.c +++ b/sys/random/random.c @@ -36,7 +36,7 @@ #include "luid.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" void auto_init_random(void) diff --git a/sys/sema/sema.c b/sys/sema/sema.c index db7e9ea4ec..c3696be8df 100644 --- a/sys/sema/sema.c +++ b/sys/sema/sema.c @@ -21,7 +21,7 @@ #include "sema.h" #include "xtimer.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" void sema_create(sema_t *sema, unsigned int value) diff --git a/sys/suit/conditions.c b/sys/suit/conditions.c index aa66866db9..3436a0d514 100644 --- a/sys/suit/conditions.c +++ b/sys/suit/conditions.c @@ -26,7 +26,7 @@ #include "uuid.h" #include "luid.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define SUIT_DEVID_BYTES 32 diff --git a/sys/suit/suit.c b/sys/suit/suit.c index 1473982049..64c2a3eee3 100644 --- a/sys/suit/suit.c +++ b/sys/suit/suit.c @@ -31,7 +31,7 @@ #include "suit/policy.h" #include "suit.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" int suit_parse(suit_manifest_t *manifest, const uint8_t *buf, diff --git a/sys/suit/transport/coap.c b/sys/suit/transport/coap.c index 080d6cf305..2a3c87b919 100644 --- a/sys/suit/transport/coap.c +++ b/sys/suit/transport/coap.c @@ -51,7 +51,7 @@ #include "progress_bar.h" #endif -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #ifndef SUIT_COAP_STACKSIZE diff --git a/sys/timex/timex.c b/sys/timex/timex.c index cdb1c4d94f..3c768f807a 100644 --- a/sys/timex/timex.c +++ b/sys/timex/timex.c @@ -21,7 +21,7 @@ #include #include -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "timex.h" diff --git a/sys/trickle/trickle.c b/sys/trickle/trickle.c index 1706e8750b..1b03b19b7f 100644 --- a/sys/trickle/trickle.c +++ b/sys/trickle/trickle.c @@ -20,7 +20,7 @@ #include "random.h" #include "trickle.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" void trickle_callback(trickle_t *trickle) diff --git a/sys/universal_address/universal_address.c b/sys/universal_address/universal_address.c index b6907370fe..6783605cbc 100644 --- a/sys/universal_address/universal_address.c +++ b/sys/universal_address/universal_address.c @@ -27,7 +27,7 @@ #endif #include "mutex.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "universal_address.h" diff --git a/sys/uri_parser/uri_parser.c b/sys/uri_parser/uri_parser.c index 8683da442c..6006386c07 100644 --- a/sys/uri_parser/uri_parser.c +++ b/sys/uri_parser/uri_parser.c @@ -22,7 +22,7 @@ #include "uri_parser.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* strchr for non-Null-terminated strings (buffers) */ diff --git a/sys/usb/usbus/cdc/acm/cdc_acm.c b/sys/usb/usbus/cdc/acm/cdc_acm.c index e88275a1d3..aac1dc6001 100644 --- a/sys/usb/usbus/cdc/acm/cdc_acm.c +++ b/sys/usb/usbus/cdc/acm/cdc_acm.c @@ -29,7 +29,7 @@ #include "usb/usbus/cdc/acm.h" #include "usb/usbus/control.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static void _init(usbus_t *usbus, usbus_handler_t *handler); diff --git a/sys/usb/usbus/cdc/ecm/cdc_ecm.c b/sys/usb/usbus/cdc/ecm/cdc_ecm.c index 73dd7b3b04..f4da67efb9 100644 --- a/sys/usb/usbus/cdc/ecm/cdc_ecm.c +++ b/sys/usb/usbus/cdc/ecm/cdc_ecm.c @@ -31,7 +31,7 @@ #include -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static void _event_handler(usbus_t *usbus, usbus_handler_t *handler, diff --git a/sys/usb/usbus/cdc/ecm/cdc_ecm_netdev.c b/sys/usb/usbus/cdc/ecm/cdc_ecm_netdev.c index c40deb42e2..2009569990 100644 --- a/sys/usb/usbus/cdc/ecm/cdc_ecm_netdev.c +++ b/sys/usb/usbus/cdc/ecm/cdc_ecm_netdev.c @@ -30,7 +30,7 @@ #include "net/netdev/eth.h" #include "usb/usbus/cdc/ecm.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static const netdev_driver_t netdev_driver_cdcecm; diff --git a/sys/usb/usbus/usbus.c b/sys/usb/usbus/usbus.c index 9ece7c1f9a..84a5437e1b 100644 --- a/sys/usb/usbus/usbus.c +++ b/sys/usb/usbus/usbus.c @@ -37,7 +37,7 @@ #include #include -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #define _USBUS_MSG_QUEUE_SIZE (16) diff --git a/sys/usb/usbus/usbus_control.c b/sys/usb/usbus/usbus_control.c index 8994f615bb..de1e1a1a76 100644 --- a/sys/usb/usbus/usbus_control.c +++ b/sys/usb/usbus/usbus_control.c @@ -28,7 +28,7 @@ #include #include -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static void _init(usbus_t *usbus, usbus_handler_t *handler); diff --git a/sys/usb/usbus/usbus_control_slicer.c b/sys/usb/usbus/usbus_control_slicer.c index ac30f0a863..567ee511aa 100644 --- a/sys/usb/usbus/usbus_control_slicer.c +++ b/sys/usb/usbus/usbus_control_slicer.c @@ -23,7 +23,7 @@ #include "usb/usbus.h" #include "usb/usbus/control.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" int usbus_control_slicer_nextslice(usbus_t *usbus) diff --git a/sys/vfs/vfs.c b/sys/vfs/vfs.c index 6cf7232d60..995709a4a8 100644 --- a/sys/vfs/vfs.c +++ b/sys/vfs/vfs.c @@ -29,7 +29,7 @@ #include "kernel_types.h" #include "clist.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #if ENABLE_DEBUG /* Since some of these functions are called by printf, we can't really call diff --git a/sys/ztimer/convert_frac.c b/sys/ztimer/convert_frac.c index 4cfbbf98e3..31e2bcd68a 100644 --- a/sys/ztimer/convert_frac.c +++ b/sys/ztimer/convert_frac.c @@ -30,7 +30,7 @@ #include "ztimer/convert.h" #include "ztimer/convert_frac.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /** diff --git a/sys/ztimer/core.c b/sys/ztimer/core.c index 8a12a4ee89..15ddd79080 100644 --- a/sys/ztimer/core.c +++ b/sys/ztimer/core.c @@ -32,7 +32,7 @@ #endif #include "ztimer.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static void _add_entry_to_list(ztimer_clock_t *clock, ztimer_base_t *entry); diff --git a/sys/ztimer/mock.c b/sys/ztimer/mock.c index b922aaa894..92150693d6 100644 --- a/sys/ztimer/mock.c +++ b/sys/ztimer/mock.c @@ -25,7 +25,7 @@ #include #include "ztimer/mock.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* Functions for controlling the mock clock below */ diff --git a/sys/ztimer/periph_rtc.c b/sys/ztimer/periph_rtc.c index 55053598f1..2e7442f4c1 100644 --- a/sys/ztimer/periph_rtc.c +++ b/sys/ztimer/periph_rtc.c @@ -24,7 +24,7 @@ #include "periph/rtc.h" #include "ztimer/periph_rtc.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" /* this algorithm and the one from _timestamp_to_gmt_civil() have been adapted from diff --git a/sys/ztimer/periph_rtt.c b/sys/ztimer/periph_rtt.c index f2fa4660da..74bdc227ec 100644 --- a/sys/ztimer/periph_rtt.c +++ b/sys/ztimer/periph_rtt.c @@ -25,7 +25,7 @@ #include "periph/rtt.h" #include "ztimer/periph_rtt.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" static void _ztimer_periph_rtt_callback(void *arg)