global: include gpiod.h locally from tools and library code
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 6 Jan 2017 14:24:10 +0000 (15:24 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 6 Jan 2017 14:24:10 +0000 (15:24 +0100)
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
TODO
core.c
gpiodetect.c
gpiofind.c
gpioget.c
gpioinfo.c
gpiomon.c
gpioset.c
tools-common.c

diff --git a/TODO b/TODO
index 76064a0e742459b41b2f7fdc833f49b033069516..3511b843931b9069239810ccd9ea2ac50f651003 100644 (file)
--- 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 2b73da1ed9429d77865fc81257b170c68d76d8f9..419944062d134da5628c190ec87933e5ecb76629 100644 (file)
--- a/core.c
+++ b/core.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdlib.h>
 #include <stdio.h>
index c5a7d6d9fa76b89a88c3fd91ef395baf4e5bb95c..8d5821947ae2abafc628183f16b6cdf8871b7d44 100644 (file)
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 #include "tools-common.h"
 
 #include <stdio.h>
index 7c7c6f1f7658bdc28359ad3494bbd675c9259832..fe3eb64be4d12e2cbbf9d6bc694016975d57ee15 100644 (file)
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
index df88877232e0250dadc8a6e5107f2b4c8e219cb9..f8fa21fa7631d00c6d4a6aa30cbcacfbfa0b918e 100644 (file)
--- a/gpioget.c
+++ b/gpioget.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
index 79a3b6a103059d81287b7edf56e0c4759d9b172d..37fa48de20788aa610be59a57e32897a02346d89 100644 (file)
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
index 35222ed99c2a13bd31f86ca673d3272bc3f3d0f2..d9dbcfa149be41523de1765dc168f1ff1455cb30 100644 (file)
--- a/gpiomon.c
+++ b/gpiomon.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
index 14b45326341370be865108cfc81d0eb43809c116..1eccd7ae921c9dcb3494805a0774a67b489ec039 100644 (file)
--- a/gpioset.c
+++ b/gpioset.c
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 
 #include <stdio.h>
 #include <string.h>
index cd2dd0a9a74fd1d74bd7cf243161a01b47b47bc0..0ad160c5bcc02713a3f83ba017f555d9cdea2db9 100644 (file)
@@ -8,7 +8,7 @@
  * published by the Free Software Foundation.
  */
 
-#include <gpiod.h>
+#include "gpiod.h"
 #include "tools-common.h"
 
 #include <stdlib.h>