mark all functions static

This commit is contained in:
Olaf Rempel 2006-05-26 19:31:18 +02:00
parent 9d7073387a
commit f302c14c93
1 changed files with 5 additions and 5 deletions

10
main.c
View File

@ -114,13 +114,13 @@
uint8_t gBuffer[SPM_PAGESIZE];
void sendchar(uint8_t data)
static void sendchar(uint8_t data)
{
while (!(UART_STATUS & (1<<UART_TXREADY)));
UART_DATA = data;
}
uint8_t recvchar(void)
static uint8_t recvchar(void)
{
while (!(UART_STATUS & (1<<UART_RXREADY)));
return UART_DATA;
@ -228,7 +228,7 @@ static inline uint16_t readEEpromPage(uint16_t address, pagebuf_t size)
return address;
}
uint8_t read_fuse_lock(uint16_t addr, uint8_t mode)
static uint8_t read_fuse_lock(uint16_t addr, uint8_t mode)
{
uint8_t retval;
@ -247,7 +247,7 @@ uint8_t read_fuse_lock(uint16_t addr, uint8_t mode)
return retval;
}
void send_boot(void)
static void send_boot(void)
{
sendchar('A');
sendchar('V');
@ -258,7 +258,7 @@ void send_boot(void)
sendchar('T');
}
void (*jump_to_app)(void) = 0x0000;
static void (*jump_to_app)(void) = 0x0000;
int main(void)
{