mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
1972の修正漏れ
ERRORLOG_getNum -> ERRORLOG_GetNum git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1973 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
6d35916d4b
commit
e3565b6ab3
@ -198,7 +198,7 @@ BOOL ERRORLOG_Write( u64 errorCode )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*
|
/*---------------------------------------------------------------------------*
|
||||||
Name: ERRORlOG_getNum
|
Name: ERRORlOG_GetNum
|
||||||
|
|
||||||
Description: 読み出したエントリ数を取得します。
|
Description: 読み出したエントリ数を取得します。
|
||||||
|
|
||||||
@ -207,7 +207,7 @@ BOOL ERRORLOG_Write( u64 errorCode )
|
|||||||
Returns: ログファイルから読み出したエントリ数を返します。
|
Returns: ログファイルから読み出したエントリ数を返します。
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
int ERRORLOG_getNum()
|
int ERRORLOG_GetNum()
|
||||||
{
|
{
|
||||||
return elWork.numEntry < ERRORLOG_NUM_ENTRY ? elWork.numEntry : ERRORLOG_NUM_ENTRY;
|
return elWork.numEntry < ERRORLOG_NUM_ENTRY ? elWork.numEntry : ERRORLOG_NUM_ENTRY;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -46,7 +46,7 @@ void TwlMain( void )
|
|||||||
|
|
||||||
ERRORLOG_Init( Alloc, Free );
|
ERRORLOG_Init( Alloc, Free );
|
||||||
|
|
||||||
numEntry = ERRORLOG_getNum();
|
numEntry = ERRORLOG_GetNum();
|
||||||
OS_TPrintf("API: before numEntry : %d\n", numEntry );
|
OS_TPrintf("API: before numEntry : %d\n", numEntry );
|
||||||
|
|
||||||
ERRORLOG_Write( (u64)0x077777777777LL );
|
ERRORLOG_Write( (u64)0x077777777777LL );
|
||||||
@ -104,7 +104,7 @@ void TwlMain( void )
|
|||||||
OS_TPrintf("total Size : %d\n", totalSize);
|
OS_TPrintf("total Size : %d\n", totalSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
numEntry = ERRORLOG_getNum();
|
numEntry = ERRORLOG_GetNum();
|
||||||
OS_TPrintf("API: end numEntry : %d\n", numEntry );
|
OS_TPrintf("API: end numEntry : %d\n", numEntry );
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -60,7 +60,7 @@ typedef struct ErrorLogWork{
|
|||||||
extern BOOL ERRORLOG_Write( u64 errorCode );
|
extern BOOL ERRORLOG_Write( u64 errorCode );
|
||||||
extern BOOL ERRORLOG_Init( void* (*AllocFunc) (u32) , void (*FreeFunc) (void*) );
|
extern BOOL ERRORLOG_Init( void* (*AllocFunc) (u32) , void (*FreeFunc) (void*) );
|
||||||
extern void ERRORLOG_End( void );
|
extern void ERRORLOG_End( void );
|
||||||
extern int ERRORLOG_getNum() ;
|
extern int ERRORLOG_GetNum() ;
|
||||||
extern const ErrorLogEntry* ERRORLOG_Read( int idx );
|
extern const ErrorLogEntry* ERRORLOG_Read( int idx );
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user