aboutsummaryrefslogtreecommitdiff
path: root/src/zjs_common.h
diff options
context:
space:
mode:
authorGeoff Gustafson <geoff@linux.intel.com>2016-07-14 14:15:42 -0700
committerGeoff Gustafson <geoff@linux.intel.com>2016-07-14 17:32:45 -0700
commit3547db431fae5039bb2f2d994ff37c37636ac6fa (patch)
tree2a23569be794704225d1c5f67b4e2a1d3962c051 /src/zjs_common.h
parente0b82f502f4c3702b489fb911b9dae7dfe2d159e (diff)
[General] Prevent multiple inclusion of header files
Signed-off-by: Geoff Gustafson <geoff@linux.intel.com>
Diffstat (limited to 'src/zjs_common.h')
-rw-r--r--src/zjs_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zjs_common.h b/src/zjs_common.h
index 8cc675f..3df0457 100644
--- a/src/zjs_common.h
+++ b/src/zjs_common.h
@@ -1,5 +1,8 @@
// Copyright (c) 2016, Intel Corporation.
+#ifndef __zjs_common_h__
+#define __zjs_common_h__
+
// This file includes code common to both X86 and ARC
#if defined(CONFIG_STDOUT_CONSOLE)
@@ -12,3 +15,5 @@
// TODO: We should instead have a macro that changes in debug vs. release build,
// to save string space and instead print error codes or something for release.
+
+#endif // __zjs_common_h__