1
0
Fork 0
forked from len0rd/rockbox

Made source files #include the header file that they implement to make sure they are in sync. Made some local functions static.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2008-05-03 08:35:14 +00:00
parent 9c1ab1f057
commit e15f8a21a9
26 changed files with 47 additions and 26 deletions

View file

@ -27,6 +27,7 @@
#include "rbunicode.h"
#include "arabjoin.h"
#include "scroll_engine.h"
#include "bidi.h"
/* #define _HEB_BUFFER_LENGTH (MAX_PATH + LCD_WIDTH/2 + 3 + 2 + 2) * 2 */
#define _HEB_BLOCK_TYPE_ENG 1
@ -40,7 +41,7 @@
#define _isnewline(c) ((c=='\n' || c=='\r') ? 1 : 0)
#define XOR(a,b) ((a||b) && !(a&&b))
const arab_t * arab_lookup(unsigned short uchar)
static const arab_t * arab_lookup(unsigned short uchar)
{
if (uchar >= 0x621 && uchar <= 0x63a)
return &(jointable[uchar - 0x621]);
@ -53,8 +54,8 @@ const arab_t * arab_lookup(unsigned short uchar)
return 0;
}
void arabjoin(unsigned short * stringprt, int length){
static void arabjoin(unsigned short * stringprt, int length)
{
bool connected = false;
unsigned short * writeprt = stringprt;