summaryrefslogtreecommitdiffstats
path: root/rbutil/mkimxboot/mkimxboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/mkimxboot/mkimxboot.h')
-rw-r--r--rbutil/mkimxboot/mkimxboot.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/rbutil/mkimxboot/mkimxboot.h b/rbutil/mkimxboot/mkimxboot.h
index 1cbc3b2378..4ee1ca20cf 100644
--- a/rbutil/mkimxboot/mkimxboot.h
+++ b/rbutil/mkimxboot/mkimxboot.h
@@ -19,10 +19,16 @@
*
****************************************************************************/
+#ifndef MKIMXBOOT_H
+#define MKIMXBOOT_H
+
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
enum imx_error_t
{
IMX_SUCCESS = 0,
@@ -52,3 +58,9 @@ struct imx_option_t
enum imx_error_t mkimxboot(const char *infile, const char *bootfile,
const char *outfile, struct imx_option_t opt);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
+