From fdf202cbd41f18405b87ddde72972ad05796ef00 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Mon, 23 Nov 2020 12:44:54 +0100 Subject: [PATCH 1/2] adapt to moved kernel_pid_t location --- app.h | 2 +- cs.h | 1 - face-table.h | 2 +- fib.h | 2 +- forwarding-strategy.h | 2 +- l2.h | 2 +- ndn.h | 2 +- netif.h | 2 +- pit.h | 2 +- 9 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app.h b/app.h index 6428921..c357692 100644 --- a/app.h +++ b/app.h @@ -23,9 +23,9 @@ #include "encoding/name.h" #include "forwarding-strategy.h" -#include #include #include +#include "sched.h" #ifdef __cplusplus extern "C" { diff --git a/cs.h b/cs.h index 36bf38d..01edf2b 100644 --- a/cs.h +++ b/cs.h @@ -22,7 +22,6 @@ #include "encoding/shared-block.h" -#include //#include #ifdef __cplusplus diff --git a/face-table.h b/face-table.h index 28b44a5..fb0c39b 100644 --- a/face-table.h +++ b/face-table.h @@ -20,7 +20,7 @@ #ifndef NDN_FACE_TABLE_H_ #define NDN_FACE_TABLE_H_ -#include +#include "sched.h" #ifdef __cplusplus extern "C" { diff --git a/fib.h b/fib.h index 8d5f01a..5e190d2 100644 --- a/fib.h +++ b/fib.h @@ -23,8 +23,8 @@ #include "encoding/shared-block.h" #include "face-table.h" -#include #include +#include "sched.h" #ifdef __cplusplus extern "C" { diff --git a/forwarding-strategy.h b/forwarding-strategy.h index 43ad66c..15fdc5b 100644 --- a/forwarding-strategy.h +++ b/forwarding-strategy.h @@ -22,7 +22,7 @@ #include "encoding/shared-block.h" -#include +#include "sched.h" #ifdef __cplusplus extern "C" { diff --git a/l2.h b/l2.h index 2dc1dad..6322276 100644 --- a/l2.h +++ b/l2.h @@ -22,8 +22,8 @@ #include "encoding/shared-block.h" -#include #include +#include "sched.h" #ifdef __cplusplus extern "C" { diff --git a/ndn.h b/ndn.h index d8d148c..47d2032 100644 --- a/ndn.h +++ b/ndn.h @@ -20,7 +20,7 @@ #ifndef NDN_H_ #define NDN_H_ -#include +#include "sched.h" #ifdef __cplusplus extern "C" { diff --git a/netif.h b/netif.h index 1e7fbdc..5e2f747 100644 --- a/netif.h +++ b/netif.h @@ -20,7 +20,7 @@ #ifndef NDN_NETIF_H_ #define NDN_NETIF_H_ -#include +#include "sched.h" #include "encoding/block.h" diff --git a/pit.h b/pit.h index dbe433e..3384a4c 100644 --- a/pit.h +++ b/pit.h @@ -23,7 +23,7 @@ #include "encoding/shared-block.h" #include "face-table.h" -#include +#include "sched.h" #include #ifdef __cplusplus From a1e8d3838de10820845a5d357bcbea38bbecb5bb Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 27 Nov 2020 11:17:49 +0100 Subject: [PATCH 2/2] fixup! adapt to moved kernel_pid_t location --- app.h | 2 +- face-table.h | 2 +- fib.h | 2 +- forwarding-strategy.h | 2 +- l2.h | 2 +- ndn.h | 2 +- netif.h | 2 +- pit.h | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app.h b/app.h index c357692..78ea601 100644 --- a/app.h +++ b/app.h @@ -25,7 +25,7 @@ #include #include -#include "sched.h" +#include #ifdef __cplusplus extern "C" { diff --git a/face-table.h b/face-table.h index fb0c39b..ec3881d 100644 --- a/face-table.h +++ b/face-table.h @@ -20,7 +20,7 @@ #ifndef NDN_FACE_TABLE_H_ #define NDN_FACE_TABLE_H_ -#include "sched.h" +#include #ifdef __cplusplus extern "C" { diff --git a/fib.h b/fib.h index 5e190d2..d53871d 100644 --- a/fib.h +++ b/fib.h @@ -24,7 +24,7 @@ #include "face-table.h" #include -#include "sched.h" +#include #ifdef __cplusplus extern "C" { diff --git a/forwarding-strategy.h b/forwarding-strategy.h index 15fdc5b..2092546 100644 --- a/forwarding-strategy.h +++ b/forwarding-strategy.h @@ -22,7 +22,7 @@ #include "encoding/shared-block.h" -#include "sched.h" +#include #ifdef __cplusplus extern "C" { diff --git a/l2.h b/l2.h index 6322276..6cae94b 100644 --- a/l2.h +++ b/l2.h @@ -23,7 +23,7 @@ #include "encoding/shared-block.h" #include -#include "sched.h" +#include #ifdef __cplusplus extern "C" { diff --git a/ndn.h b/ndn.h index 47d2032..0a69cc8 100644 --- a/ndn.h +++ b/ndn.h @@ -20,7 +20,7 @@ #ifndef NDN_H_ #define NDN_H_ -#include "sched.h" +#include #ifdef __cplusplus extern "C" { diff --git a/netif.h b/netif.h index 5e2f747..a737eb8 100644 --- a/netif.h +++ b/netif.h @@ -20,7 +20,7 @@ #ifndef NDN_NETIF_H_ #define NDN_NETIF_H_ -#include "sched.h" +#include #include "encoding/block.h" diff --git a/pit.h b/pit.h index 3384a4c..cb8ebf2 100644 --- a/pit.h +++ b/pit.h @@ -23,7 +23,7 @@ #include "encoding/shared-block.h" #include "face-table.h" -#include "sched.h" +#include #include #ifdef __cplusplus