Add double inclusion protection and prepare for use with C++ code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31138 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2d2fa5c128
commit
346f1e0fc6
1 changed files with 12 additions and 0 deletions
|
@ -19,10 +19,16 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef MKIMXBOOT_H
|
||||||
|
#define MKIMXBOOT_H
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
enum imx_error_t
|
enum imx_error_t
|
||||||
{
|
{
|
||||||
IMX_SUCCESS = 0,
|
IMX_SUCCESS = 0,
|
||||||
|
@ -52,3 +58,9 @@ struct imx_option_t
|
||||||
|
|
||||||
enum imx_error_t mkimxboot(const char *infile, const char *bootfile,
|
enum imx_error_t mkimxboot(const char *infile, const char *bootfile,
|
||||||
const char *outfile, struct imx_option_t opt);
|
const char *outfile, struct imx_option_t opt);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue