summaryrefslogtreecommitdiff
path: root/chip/host
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-06-16 21:51:55 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-18 19:07:00 +0000
commit104f811e6730e129a98fac6fc3941bbe0d0e857f (patch)
tree17a0d78af92eceb0cde468f56afc41f0ec726dd9 /chip/host
parent19cd951027b7bd7b726e085c46b8cc9c136b0980 (diff)
downloadchrome-ec-104f811e6730e129a98fac6fc3941bbe0d0e857f.tar.gz
cleanup: fix all the header guards
This unifies all the EC header files to use __CROS_EC_FILENAME_H as the include guard. Well, except for test/ util/ and extra/ which use __TEST_ __UTIL_ and __EXTRA_ prefixes respectively. BUG=chromium:496895 BRANCH=none TEST=make buildall -j Signed-off-by: Bill Richardson <wfrichar@chromium.org> Change-Id: Iea71b3a08bdec94a11239de810a2b2e152b15029 Reviewed-on: https://chromium-review.googlesource.com/278121 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/host')
-rw-r--r--chip/host/persistence.h6
-rw-r--r--chip/host/reboot.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/chip/host/persistence.h b/chip/host/persistence.h
index 0a80c2e618..1fab1c8235 100644
--- a/chip/host/persistence.h
+++ b/chip/host/persistence.h
@@ -5,8 +5,8 @@
/* Persistence module for emulator */
-#ifndef _PERSISTENCE_H
-#define _PERSISTENCE_H
+#ifndef __CROS_EC_PERSISTENCE_H
+#define __CROS_EC_PERSISTENCE_H
#include <stdio.h>
@@ -16,4 +16,4 @@ void release_persistent_storage(FILE *ps);
void remove_persistent_storage(const char *tag);
-#endif /* _PERSISTENCE_H */
+#endif /* __CROS_EC_PERSISTENCE_H */
diff --git a/chip/host/reboot.h b/chip/host/reboot.h
index b6a7d817e6..e391866497 100644
--- a/chip/host/reboot.h
+++ b/chip/host/reboot.h
@@ -5,8 +5,8 @@
/* Emulator self-reboot procedure */
-#ifndef __REBOOT_H
-#define __REBOOT_H
+#ifndef __CROS_EC_REBOOT_H
+#define __CROS_EC_REBOOT_H
void emulator_reboot(void);