internal functions should be static

This commit is contained in:
Stefan `Sec` Zehl 2012-04-02 14:23:38 +02:00
parent b58166a771
commit 61cefa411c
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
uint32_t uuid32=0;
uint16_t uuid16=0;
uint32_t __GetUUID32(void){
static uint32_t __GetUUID32(void){
IAP_return_t iap_return;
iap_return = iapReadSerialNumber();
if (iap_return.ReturnCode == 0){
@ -24,7 +24,7 @@ uint32_t __GetUUID32(void){
};
// What OpenBeacon used. Do we want this?
uint16_t __GetUUID16(void){
static uint16_t __GetUUID16(void){
IAP_return_t iap_return;
iap_return = iapReadSerialNumber();
return crc16 ((uint8_t *) iap_return.Result, sizeof (iap_return.Result));