Merge pull request #15269 from basilfx/feature/timex_includes

treewide: add includes to timex.h
This commit is contained in:
benpicco 2020-10-22 00:54:24 +02:00 committed by GitHub
commit 6cf5f79ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 23 additions and 1 deletions

View File

@ -21,6 +21,7 @@
#include "board.h" #include "board.h"
#include "cpu.h" #include "cpu.h"
#include "mtd.h" #include "mtd.h"
#include "timex.h"
#include "mtd_spi_nor.h" #include "mtd_spi_nor.h"
#include "periph/gpio.h" #include "periph/gpio.h"

View File

@ -27,7 +27,6 @@ extern "C" {
#include "mtd.h" #include "mtd.h"
#include "periph_cpu.h" #include "periph_cpu.h"
#include "timex.h"
/** /**
* @name Xtimer configuration * @name Xtimer configuration

View File

@ -17,6 +17,7 @@
#include "esp_common.h" #include "esp_common.h"
#include "log.h" #include "log.h"
#include "timex.h"
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"

View File

@ -24,6 +24,7 @@
#include <stdio.h> #include <stdio.h>
#include <inttypes.h> #include <inttypes.h>
#include "timex.h"
#include "net/sock/udp.h" #include "net/sock/udp.h"
#include "tinydtls_keys.h" #include "tinydtls_keys.h"

View File

@ -27,6 +27,7 @@
#include "net/sock/udp.h" #include "net/sock/udp.h"
#include "msg.h" #include "msg.h"
#include "timex.h"
#include "tinydtls_keys.h" #include "tinydtls_keys.h"
/* TinyDTLS */ /* TinyDTLS */

View File

@ -23,6 +23,7 @@
#include "net/credman.h" #include "net/credman.h"
#include "msg.h" #include "msg.h"
#include "thread.h" #include "thread.h"
#include "timex.h"
#include "tinydtls_keys.h" #include "tinydtls_keys.h"

View File

@ -25,6 +25,7 @@
#include "event/timeout.h" #include "event/timeout.h"
#include "nimble_riot.h" #include "nimble_riot.h"
#include "net/bluetil/ad.h" #include "net/bluetil/ad.h"
#include "timex.h"
#include "host/ble_hs.h" #include "host/ble_hs.h"
#include "host/ble_gatt.h" #include "host/ble_gatt.h"

View File

@ -21,6 +21,8 @@
#include <string.h> #include <string.h>
#include "timex.h"
#include "liblwm2m.h" #include "liblwm2m.h"
#include "lwm2m_platform.h" #include "lwm2m_platform.h"

View File

@ -23,6 +23,7 @@
#include "log.h" #include "log.h"
#include "random.h" #include "random.h"
#include "byteorder.h" #include "byteorder.h"
#include "timex.h"
#include "net/asymcute.h" #include "net/asymcute.h"

View File

@ -26,6 +26,7 @@
#include "net/nanocoap_sock.h" #include "net/nanocoap_sock.h"
#include "net/sock/udp.h" #include "net/sock/udp.h"
#include "timex.h"
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"

View File

@ -41,6 +41,7 @@
#include "net/gnrc/sixlowpan/ctx.h" #include "net/gnrc/sixlowpan/ctx.h"
#include "net/ndp.h" #include "net/ndp.h"
#include "random.h" #include "random.h"
#include "timex.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -25,6 +25,8 @@
#include "net/gnrc/ndp.h" #include "net/gnrc/ndp.h"
#include "timex.h"
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"

View File

@ -27,6 +27,8 @@
#include "can/conn/raw.h" #include "can/conn/raw.h"
#include "can/raw.h" #include "can/raw.h"
#include "timex.h"
#define SC_CAN_MAX_FILTERS 10 #define SC_CAN_MAX_FILTERS 10
#define xstr(a) str(a) #define xstr(a) str(a)
#define str(a) #a #define str(a) #a

View File

@ -20,6 +20,8 @@
#include "net/gnrc/netif.h" #include "net/gnrc/netif.h"
#include "net/ipv6/addr.h" #include "net/ipv6/addr.h"
#include "timex.h"
static void _usage(char **argv); static void _usage(char **argv);
static int _nib_neigh(int argc, char **argv); static int _nib_neigh(int argc, char **argv);
static int _nib_prefix(int argc, char **argv); static int _nib_prefix(int argc, char **argv);

View File

@ -24,6 +24,7 @@
#include "net/gnrc/rpl/dodag.h" #include "net/gnrc/rpl/dodag.h"
#include "utlist.h" #include "utlist.h"
#include "trickle.h" #include "trickle.h"
#include "xtimer.h"
#ifdef MODULE_GNRC_RPL_P2P #ifdef MODULE_GNRC_RPL_P2P
#include "net/gnrc/rpl/p2p.h" #include "net/gnrc/rpl/p2p.h"
#include "net/gnrc/rpl/p2p_dodag.h" #include "net/gnrc/rpl/p2p_dodag.h"

View File

@ -31,6 +31,7 @@
#include "net/nanocoap_sock.h" #include "net/nanocoap_sock.h"
#include "thread.h" #include "thread.h"
#include "periph/pm.h" #include "periph/pm.h"
#include "xtimer.h"
#include "suit/transport/coap.h" #include "suit/transport/coap.h"
#include "net/sock/util.h" #include "net/sock/util.h"

View File

@ -27,6 +27,7 @@
#include "event.h" #include "event.h"
#include "event/timeout.h" #include "event/timeout.h"
#include "event/callback.h" #include "event/callback.h"
#include "xtimer.h"
#define STACKSIZE THREAD_STACKSIZE_DEFAULT #define STACKSIZE THREAD_STACKSIZE_DEFAULT
#define PRIO (THREAD_PRIORITY_MAIN - 1) #define PRIO (THREAD_PRIORITY_MAIN - 1)

View File

@ -32,6 +32,7 @@
#include "net/gnrc/netif/internal.h" #include "net/gnrc/netif/internal.h"
#include "net/ndp.h" #include "net/ndp.h"
#include "sched.h" #include "sched.h"
#include "timex.h"
#define _BUFFER_SIZE (128) #define _BUFFER_SIZE (128)
#define _CUR_HL (155) #define _CUR_HL (155)

View File

@ -35,6 +35,7 @@
#include "net/ndp.h" #include "net/ndp.h"
#include "net/sixlowpan/nd.h" #include "net/sixlowpan/nd.h"
#include "sched.h" #include "sched.h"
#include "timex.h"
#define _BUFFER_SIZE (196) #define _BUFFER_SIZE (196)
#define _ARO_LTIME (4224) #define _ARO_LTIME (4224)

View File

@ -26,6 +26,7 @@
#include "net/sock/dtls.h" #include "net/sock/dtls.h"
#include "net/ipv6/addr.h" #include "net/ipv6/addr.h"
#include "net/credman.h" #include "net/credman.h"
#include "timex.h"
#include "tinydtls_common.h" #include "tinydtls_common.h"
#include "tinydtls_keys.h" #include "tinydtls_keys.h"