ARMv7 address environment: Static functions not marked static

This commit is contained in:
Gregory Nutt
2014-09-01 08:49:08 -06:00
parent edf5b0bccc
commit a33c0533f4
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -150,13 +150,13 @@ static void set_l2_entry(FAR uint32_t *l2table, uintptr_t paddr,
* Name: up_addrenv_create_region
*
* Description:
* Destroy one memory region.
* Create one memory region.
*
****************************************************************************/
int up_addrenv_create_region(FAR uintptr_t **list, unsigned int listlen,
uintptr_t vaddr, size_t regionsize,
uint32_t mmuflags)
static int up_addrenv_create_region(FAR uintptr_t **list,
unsigned int listlen, uintptr_t vaddr,
size_t regionsize, uint32_t mmuflags)
{
irqstate_t flags;
uintptr_t paddr;
@@ -258,8 +258,8 @@ int up_addrenv_create_region(FAR uintptr_t **list, unsigned int listlen,
*
****************************************************************************/
void up_addrenv_destroy_region(FAR uintptr_t **list, unsigned int listlen,
uintptr_t vaddr)
static void up_addrenv_destroy_region(FAR uintptr_t **list,
unsigned int listlen, uintptr_t vaddr)
{
irqstate_t flags;
uintptr_t paddr;
+2 -2
View File
@@ -676,10 +676,10 @@ void up_allocate_pgheap(FAR void **heap_start, size_t *heap_size);
*
* Description:
* If there is a page allocator in the configuration and if and MMU is
* available to map physcal addresses to virtual address, then function
* available to map physical addresses to virtual address, then function
* must be provided by the platform-specific code. This is part of the
* implementation of sbrk(). This function will allocate the requested
* number of pages using the page allocator and map them into consecuive
* number of pages using the page allocator and map them into consecutive
* virtual addresses beginning with 'brkaddr'
*
* NOTE: This function does not use the up_ naming standard because it