diff options
Diffstat (limited to 'c')
-rw-r--r-- | c/common.cpp | 2 | ||||
-rw-r--r-- | c/common.h | 6 | ||||
-rw-r--r-- | c/episodelistview.h | 14 | ||||
-rw-r--r-- | c/main.cpp | 4 | ||||
-rw-r--r-- | c/main.h | 2 | ||||
-rw-r--r-- | c/pl.h | 8 |
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; } @@ -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: @@ -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) { @@ -1,6 +1,6 @@ #ifndef MAIN_H #define MAIN_H -void UpdateLayout(void); +void UpdateLayout(); #endif @@ -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; }; |