gpiod.h: make the include guard more unique
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 9 Jan 2017 11:22:48 +0000 (12:22 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 9 Jan 2017 11:22:48 +0000 (12:22 +0100)
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
gpiod.h

diff --git a/gpiod.h b/gpiod.h
index 1b4d547cf880f02e561daea340c3f3a6a7f3af5e..8b475d1f473f5843f88e38781f5d04b1a8f6c502 100644 (file)
--- a/gpiod.h
+++ b/gpiod.h
@@ -17,8 +17,8 @@
  * exposed by the linux GPIO character device interface.
  */
 
-#ifndef __GPIOD__
-#define __GPIOD__
+#ifndef __LIBGPIOD_GPIOD_H__
+#define __LIBGPIOD_GPIOD_H__
 
 #include <stdlib.h>
 #include <stdbool.h>
@@ -740,4 +740,4 @@ gpiod_line_iter_next(struct gpiod_line_iter *iter)
 } /* extern "C" */
 #endif
 
-#endif /* __GPIOD__ */
+#endif /* __LIBGPIOD_GPIOD_H__ */