Skip to content

Commit 6548f01

Browse files
committed
m68k: sun3x: Make sun3x_halt() static
When building with W=1: arch/m68k/sun3x/prom.c:33:6: warning: no previous prototype for ‘sun3x_halt’ [-Wmissing-prototypes] 33 | void sun3x_halt(void) | ^~~~~~~~~~ Fix this by making sun3x_halt() static. The function body was moved to arch/m68k/sun3x/prom.c in v2.4.5.2. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/0ba2883aaff2e4fc5e570bfee87c58e483668b26.1694613528.git.geert@linux-m68k.org
1 parent 1dbda52 commit 6548f01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/m68k/sun3x/prom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct linux_romvec *romvec;
3030
e_vector *sun3x_prom_vbr;
3131

3232
/* Handle returning to the prom */
33-
void sun3x_halt(void)
33+
static void sun3x_halt(void)
3434
{
3535
unsigned long flags;
3636

0 commit comments

Comments
 (0)