From e1ce28e22a20e2b90156b14dbfaeb17f33f2be43 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 6 Jan 2017 15:24:10 +0100 Subject: [PATCH] global: include gpiod.h locally from tools and library code Signed-off-by: Bartosz Golaszewski --- TODO | 1 - core.c | 2 +- gpiodetect.c | 2 +- gpiofind.c | 2 +- gpioget.c | 2 +- gpioinfo.c | 2 +- gpiomon.c | 2 +- gpioset.c | 2 +- tools-common.c | 2 +- 9 files changed, 8 insertions(+), 9 deletions(-) diff --git a/TODO b/TODO index 76064a0..3511b84 100644 --- a/TODO +++ b/TODO @@ -2,4 +2,3 @@ - create a high level routine for setting the GPIO line value - create a high level routine for listening on events on a GPIO line - rethink the GPIO event API -- include gpiod.h from tools locally diff --git a/core.c b/core.c index 2b73da1..4199440 100644 --- a/core.c +++ b/core.c @@ -8,7 +8,7 @@ * published by the Free Software Foundation. */ -#include +#include "gpiod.h" #include #include diff --git a/gpiodetect.c b/gpiodetect.c index c5a7d6d..8d58219 100644 --- a/gpiodetect.c +++ b/gpiodetect.c @@ -8,7 +8,7 @@ * published by the Free Software Foundation. */ -#include +#include "gpiod.h" #include "tools-common.h" #include diff --git a/gpiofind.c b/gpiofind.c index 7c7c6f1..fe3eb64 100644 --- a/gpiofind.c +++ b/gpiofind.c @@ -8,7 +8,7 @@ * published by the Free Software Foundation. */ -#include +#include "gpiod.h" #include #include diff --git a/gpioget.c b/gpioget.c index df88877..f8fa21f 100644 --- a/gpioget.c +++ b/gpioget.c @@ -8,7 +8,7 @@ * published by the Free Software Foundation. */ -#include +#include "gpiod.h" #include #include diff --git a/gpioinfo.c b/gpioinfo.c index 79a3b6a..37fa48d 100644 --- a/gpioinfo.c +++ b/gpioinfo.c @@ -8,7 +8,7 @@ * published by the Free Software Foundation. */ -#include +#include "gpiod.h" #include #include diff --git a/gpiomon.c b/gpiomon.c index 35222ed..d9dbcfa 100644 --- a/gpiomon.c +++ b/gpiomon.c @@ -8,7 +8,7 @@ * published by the Free Software Foundation. */ -#include +#include "gpiod.h" #include #include diff --git a/gpioset.c b/gpioset.c index 14b4532..1eccd7a 100644 --- a/gpioset.c +++ b/gpioset.c @@ -8,7 +8,7 @@ * published by the Free Software Foundation. */ -#include +#include "gpiod.h" #include #include diff --git a/tools-common.c b/tools-common.c index cd2dd0a..0ad160c 100644 --- a/tools-common.c +++ b/tools-common.c @@ -8,7 +8,7 @@ * published by the Free Software Foundation. */ -#include +#include "gpiod.h" #include "tools-common.h" #include -- 2.30.2