Skip to content

Commit dc52d2d

Browse files
committed
m68k: sun3: Make print_pte() static
When building with W=1: arch/m68k/sun3/mmu_emu.c:70:6: warning: no previous prototype for ‘print_pte’ [-Wmissing-prototypes] 70 | void print_pte (pte_t pte) | ^~~~~~~~~ Fix this by making print_pte() static. There was never a user outside arch/m68k/sun3/mmu_emu.c. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/a56c70e85584efb3681cb7e94aff167299dfa5e4.1694613528.git.geert@linux-m68k.org
1 parent dc40c42 commit dc52d2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/m68k/sun3/mmu_emu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static unsigned char ctx_avail = CONTEXTS_NUM-1;
6767
unsigned long rom_pages[256];
6868

6969
/* Print a PTE value in symbolic form. For debugging. */
70-
void print_pte (pte_t pte)
70+
static void print_pte(pte_t pte)
7171
{
7272
#if 0
7373
/* Verbose version. */

0 commit comments

Comments
 (0)