2010-11-17 21:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
* Commented not-yet-implemented function hb_verHostCPU()
* src/rtl/sha2.c
! Two local functions made static.
This commit is contained in:
@@ -16,6 +16,13 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-11-17 21:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* src/common/hbver.c
|
||||
* Commented not-yet-implemented function hb_verHostCPU()
|
||||
|
||||
* src/rtl/sha2.c
|
||||
! Two local functions made static.
|
||||
|
||||
2010-11-17 21:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/include/hbpp.h
|
||||
! removed repeated declaration of hb_pp_eof()
|
||||
@@ -104,11 +111,11 @@
|
||||
; TODO: The following functions are declared as public but without
|
||||
any prototypes in header files so they should be made static
|
||||
or we should add them to some header files:
|
||||
hbver.c:143: hb_verHostCPU()
|
||||
hbver.c:143: hb_verHostCPU() [DONE]
|
||||
hbjson.c:640: hb_jsonEncode()
|
||||
hbjson.c:665: hb_jsonDecode()
|
||||
sha2.c:228: sha256_transf()
|
||||
sha2.c:445: sha512_transf()
|
||||
sha2.c:228: sha256_transf() [DONE]
|
||||
sha2.c:445: sha512_transf() [DONE]
|
||||
I would like to ask authors to look at them and chose
|
||||
best solution.
|
||||
|
||||
|
||||
@@ -140,6 +140,7 @@ const char * hb_verCPU( void )
|
||||
#endif
|
||||
}
|
||||
|
||||
#if 0
|
||||
const char * hb_verHostCPU( void )
|
||||
{
|
||||
HB_TRACE(HB_TR_DEBUG, ("hb_verHostCPU()"));
|
||||
@@ -148,6 +149,7 @@ const char * hb_verHostCPU( void )
|
||||
|
||||
return "";
|
||||
}
|
||||
#endif
|
||||
|
||||
/* NOTE: OS() function, as a primary goal will detect the version number
|
||||
of the target platform. As an extra it may also detect the host OS.
|
||||
|
||||
@@ -225,8 +225,8 @@ uint64 sha512_k[80] =
|
||||
|
||||
/* SHA-256 functions */
|
||||
|
||||
void sha256_transf(sha256_ctx *ctx, const unsigned char *message,
|
||||
unsigned int block_nb)
|
||||
static void sha256_transf(sha256_ctx *ctx, const unsigned char *message,
|
||||
unsigned int block_nb)
|
||||
{
|
||||
uint32 w[64];
|
||||
uint32 wv[8];
|
||||
@@ -442,8 +442,8 @@ void hb_sha256_final(sha256_ctx *ctx, unsigned char *digest)
|
||||
|
||||
/* SHA-512 functions */
|
||||
|
||||
void sha512_transf(sha512_ctx *ctx, const unsigned char *message,
|
||||
unsigned int block_nb)
|
||||
static void sha512_transf(sha512_ctx *ctx, const unsigned char *message,
|
||||
unsigned int block_nb)
|
||||
{
|
||||
uint64 w[80];
|
||||
uint64 wv[8];
|
||||
|
||||
Reference in New Issue
Block a user