diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2009-08-15 14:09:05 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2009-08-15 14:09:05 +0000 |
commit | cb55d5c65f8436b3de6bbf11686a961655183a93 (patch) | |
tree | 6504a5d49d649764523e534019889c05502e7304 /rbutil/mkamsboot/mkamsboot.h | |
parent | f4e2d83f0479cbedafadb071e7031500db01a28b (diff) | |
download | rockbox-cb55d5c65f8436b3de6bbf11686a961655183a93.tar.gz rockbox-cb55d5c65f8436b3de6bbf11686a961655183a93.zip |
rbutil: move extern "C" declaration into mkamsboot.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22319 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/mkamsboot/mkamsboot.h')
-rw-r--r-- | rbutil/mkamsboot/mkamsboot.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rbutil/mkamsboot/mkamsboot.h b/rbutil/mkamsboot/mkamsboot.h index 3e58341884..51f5b2f699 100644 --- a/rbutil/mkamsboot/mkamsboot.h +++ b/rbutil/mkamsboot/mkamsboot.h | |||
@@ -28,6 +28,10 @@ | |||
28 | #include <stdint.h> | 28 | #include <stdint.h> |
29 | #include <sys/types.h> | 29 | #include <sys/types.h> |
30 | 30 | ||
31 | #ifdef __cplusplus | ||
32 | extern "C" { | ||
33 | #endif | ||
34 | |||
31 | /* Supported models */ | 35 | /* Supported models */ |
32 | enum { | 36 | enum { |
33 | MODEL_UNKNOWN = -1, | 37 | MODEL_UNKNOWN = -1, |
@@ -152,4 +156,8 @@ int total_size(int model, int rb_packedsize, int of_packedsize); | |||
152 | */ | 156 | */ |
153 | int firmware_revision(int model); | 157 | int firmware_revision(int model); |
154 | 158 | ||
159 | #ifdef __cplusplus | ||
160 | }; | ||
161 | #endif | ||
162 | |||
155 | #endif | 163 | #endif |