From 066899eaff345aa582f8d00bafcf15ec3b46904e Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sat, 7 Nov 2020 13:06:56 -0800 Subject: [PATCH] Remove extraneous semicolons at top-level These are unnecessary and not strictly allowed in ISO C. --- src/boards/txcchip.c | 2 +- src/sound.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boards/txcchip.c b/src/boards/txcchip.c index a361cc8..294cd39 100644 --- a/src/boards/txcchip.c +++ b/src/boards/txcchip.c @@ -65,7 +65,7 @@ typedef struct { static TXC txc; -static void Dummyfunc(void) { }; +static void Dummyfunc(void) { } static void (*WSync)(void) = Dummyfunc; static SFORMAT StateRegs[] = diff --git a/src/sound.c b/src/sound.c index 2fd2ca2..a483d16 100644 --- a/src/sound.c +++ b/src/sound.c @@ -145,7 +145,7 @@ static char DMCHaveDMA = 0; static uint8 DMCDMABuf = 0; static char DMCHaveSample = 0; -static void Dummyfunc(void) { }; +static void Dummyfunc(void) { } static void (*DoNoise)(void) = Dummyfunc; static void (*DoTriangle)(void) = Dummyfunc; static void (*DoPCM)(void) = Dummyfunc;