[PATCH weston 2/5] ivi-shell: add include guards on ivi-shell.h

Pekka Paalanen ppaalanen at gmail.com
Tue Mar 15 15:39:22 UTC 2016


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

It's our standard practice. This file will get used a bit more in the
future.

Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 ivi-shell/ivi-shell.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ivi-shell/ivi-shell.h b/ivi-shell/ivi-shell.h
index 9a05eb2..744d969 100644
--- a/ivi-shell/ivi-shell.h
+++ b/ivi-shell/ivi-shell.h
@@ -23,6 +23,9 @@
  * SOFTWARE.
  */
 
+#ifndef WESTON_IVI_SHELL_H
+#define WESTON_IVI_SHELL_H
+
 #include <stdbool.h>
 
 #include "compositor.h"
@@ -65,3 +68,5 @@ input_panel_setup(struct ivi_shell *shell);
 
 void
 input_panel_destroy(struct ivi_shell *shell);
+
+#endif /* WESTON_IVI_SHELL_H */
-- 
2.4.10



More information about the wayland-devel mailing list