aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/common.cpp2
-rw-r--r--c/common.h6
-rw-r--r--c/episodelistview.h14
-rw-r--r--c/main.cpp4
-rw-r--r--c/main.h2
-rw-r--r--c/pl.h8
6 files changed, 18 insertions, 18 deletions
diff --git a/c/common.cpp b/c/common.cpp
index c485f5d..f0b5d34 100644
--- a/c/common.cpp
+++ b/c/common.cpp
@@ -21,7 +21,7 @@ Win32Error::~Win32Error()
HeapFree(GetProcessHeap(), 0, m_szMsg);
}
-const char* Win32Error::what(void) const noexcept
+const char* Win32Error::what() const noexcept
{
return m_szMsg;
}
diff --git a/c/common.h b/c/common.h
index 2bcf0d7..515c75c 100644
--- a/c/common.h
+++ b/c/common.h
@@ -14,8 +14,8 @@
struct Win32Error : public std::exception
{
Win32Error(DWORD dwErr);
- ~Win32Error(void);
- virtual const char* what(void) const noexcept override;
+ ~Win32Error();
+ virtual const char* what() const noexcept override;
private:
DWORD m_dwErr;
char* const m_szMsg = NULL;
@@ -24,7 +24,7 @@ private:
struct Library
{
Library(const TCHAR* tszLibrary);
- ~Library(void);
+ ~Library();
FARPROC GetProcAddress(const char* szProc);
private:
HMODULE m_hModule;
diff --git a/c/episodelistview.h b/c/episodelistview.h
index 7061944..1f23959 100644
--- a/c/episodelistview.h
+++ b/c/episodelistview.h
@@ -13,16 +13,16 @@
struct EpisodeListView : public ListView
{
EpisodeListView(HWND hWndParent);
- void DoSort(void);
- void EnsureFocusVisible(void);
+ void DoSort();
+ void EnsureFocusVisible();
LRESULT HandleNotify(LPARAM lParam);
- void Redraw(void);
- void SaveFocus(void);
+ void Redraw();
+ void SaveFocus();
void SetTop(int iItem);
- void RestoreFocus(void);
+ void RestoreFocus();
void SelectUnwatched(int iDir);
- void ShowFocus(void);
- void Update(void);
+ void ShowFocus();
+ void Update();
void UpdateItem(const LVITEM* pLvi);
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) override;
private:
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)
{
diff --git a/c/main.h b/c/main.h
index d79975e..0b899e6 100644
--- a/c/main.h
+++ b/c/main.h
@@ -1,6 +1,6 @@
#ifndef MAIN_H
#define MAIN_H
-void UpdateLayout(void);
+void UpdateLayout();
#endif
diff --git a/c/pl.h b/c/pl.h
index c4694a9..06efe13 100644
--- a/c/pl.h
+++ b/c/pl.h
@@ -10,10 +10,10 @@ int Plx(const char* szMod, const char* szPred);
struct Query
{
Query(module_t ctx, predicate_t p, term_t t0);
- ~Query(void);
- int Cut(void);
- int Close(void);
- int NextSolution(void);
+ ~Query();
+ int Cut();
+ int Close();
+ int NextSolution();
private:
qid_t m_q;
};