mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
revert plugin_api part of r18830, as this was the wrong solution for those
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18831 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ae7391b187
commit
8c08511013
8 changed files with 8 additions and 8 deletions
|
@ -64,7 +64,7 @@
|
|||
#define taxicab(a,b) (abs(column[a]-column[b]) + abs(row[a]-row[b]))
|
||||
|
||||
/* ---- RockBox datatypes and variables */
|
||||
extern const struct plugin_api* rb;
|
||||
const struct plugin_api* rb;
|
||||
|
||||
/* ---- Chess datatypes and variables ---- */
|
||||
struct leaf
|
||||
|
|
|
@ -101,7 +101,7 @@ int my_close(int id)
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
extern const struct plugin_api* rb;
|
||||
const struct plugin_api* rb;
|
||||
#define MAXARGVS 100
|
||||
|
||||
bool noprintf=0; // Variable disables printf lcd updates to protect grayscale lib/direct lcd updates
|
||||
|
|
|
@ -268,7 +268,7 @@ PLUGIN_IRAM_DECLARE
|
|||
#endif
|
||||
#endif
|
||||
|
||||
extern const struct plugin_api* rb;
|
||||
const struct plugin_api* rb;
|
||||
|
||||
CACHE_FUNCTION_WRAPPERS(rb);
|
||||
ALIGN_BUFFER_WRAPPER(rb);
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
PLUGIN_HEADER
|
||||
PLUGIN_IRAM_DECLARE
|
||||
|
||||
extern const struct plugin_api* rb;
|
||||
const struct plugin_api* rb;
|
||||
|
||||
struct pacman_settings {
|
||||
int difficulty;
|
||||
|
|
|
@ -32,7 +32,7 @@ PLUGIN_IRAM_DECLARE
|
|||
/* here is a global api struct pointer. while not strictly necessary,
|
||||
it's nice not to have to pass the api pointer in all function calls
|
||||
in the plugin */
|
||||
bool plugbuf;
|
||||
const struct plugin_api* rb;
|
||||
int shut,cleanshut;
|
||||
char *errormsg;
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ struct options {
|
|||
int dirty;
|
||||
};
|
||||
|
||||
extern bool plugbuf;
|
||||
bool plugbuf;
|
||||
|
||||
extern struct options options;
|
||||
#define savedir ROCKBOX_DIR "/rockboy"
|
||||
|
|
|
@ -82,7 +82,7 @@ PLUGIN_HEADER
|
|||
it's nice not to have to pass the api pointer in all function calls
|
||||
in the plugin */
|
||||
|
||||
extern const struct plugin_api* rb;
|
||||
const struct plugin_api* rb;
|
||||
|
||||
/* Default game - used to initialise sudoku.ss if it doesn't exist. */
|
||||
static const char default_game[9][9] =
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
PLUGIN_HEADER
|
||||
PLUGIN_IRAM_DECLARE
|
||||
|
||||
extern const struct plugin_api* rb;
|
||||
const struct plugin_api* rb;
|
||||
|
||||
#include "spkey_p.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue