mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
rbutil: move extern "C" declaration into mkamsboot.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22319 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f4e2d83f04
commit
cb55d5c65f
2 changed files with 9 additions and 4 deletions
|
|
@ -28,6 +28,10 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Supported models */
|
/* Supported models */
|
||||||
enum {
|
enum {
|
||||||
MODEL_UNKNOWN = -1,
|
MODEL_UNKNOWN = -1,
|
||||||
|
|
@ -152,4 +156,8 @@ int total_size(int model, int rb_packedsize, int of_packedsize);
|
||||||
*/
|
*/
|
||||||
int firmware_revision(int model);
|
int firmware_revision(int model);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,7 @@
|
||||||
#include "bootloaderinstallbase.h"
|
#include "bootloaderinstallbase.h"
|
||||||
#include "bootloaderinstallams.h"
|
#include "bootloaderinstallams.h"
|
||||||
|
|
||||||
extern "C"
|
#include "../mkamsboot/mkamsboot.h"
|
||||||
{
|
|
||||||
#include "../mkamsboot/mkamsboot.h"
|
|
||||||
};
|
|
||||||
|
|
||||||
BootloaderInstallAms::BootloaderInstallAms(QObject *parent)
|
BootloaderInstallAms::BootloaderInstallAms(QObject *parent)
|
||||||
: BootloaderInstallBase(parent)
|
: BootloaderInstallBase(parent)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue