aboutsummaryrefslogtreecommitdiff
path: root/c/main.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-17 18:10:03 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-17 18:10:03 +0200
commit6a2b55588278d9401eb946ec94970bbea1069f58 (patch)
tree27be93e00d9ed91ca164b7c0d8b06e2159aa2228 /c/main.cpp
parente1906e8f45b732d83aca0935c59852c7aa64def9 (diff)
downloadEpisodeBrowser-6a2b55588278d9401eb946ec94970bbea1069f58.tar.gz
Prefer f() over f(void).
f(void) is a C-ism that is valid but unnecessary in C++.
Diffstat (limited to 'c/main.cpp')
-rw-r--r--c/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/main.cpp b/c/main.cpp
index ddfd490..885d045 100644
--- a/c/main.cpp
+++ b/c/main.cpp
@@ -28,12 +28,12 @@ int g_bViewWatched = 1;
int g_bThread = 0;
int g_iDPI = 96;
static int g_cxVScroll;
-static void OnTerminate(void);
+static void OnTerminate();
static LRESULT CALLBACK CBTProc(int, WPARAM, LPARAM);
static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
static INT_PTR CALLBACK AboutDlgProc(HWND, UINT, WPARAM, LPARAM);
static HWND CreateStatusBar(HWND, HINSTANCE);
-static void UpdateTheme(void);
+static void UpdateTheme();
int WINAPI WinMain(const HINSTANCE hInstance, const HINSTANCE, char* const, const int nCmdShow)
{