1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Nitpick: fix missing 'void' in one declaration.

Jumped out at me in my trawl of the whole code base:
set_explicit_app_user_model_id is declared and defined as () rather
than (void), but this isn't C++.
This commit is contained in:
Simon Tatham 2018-11-03 08:28:35 +00:00
parent 3933a27d93
commit 650bfbb084
2 changed files with 2 additions and 2 deletions

View File

@ -715,7 +715,7 @@ void remove_session_from_jumplist(const char * const sessionname)
/* Set Explicit App User Model Id to fix removable media error with /* Set Explicit App User Model Id to fix removable media error with
jump lists */ jump lists */
bool set_explicit_app_user_model_id() bool set_explicit_app_user_model_id(void)
{ {
DECL_WINDOWS_FUNCTION(static, HRESULT, SetCurrentProcessExplicitAppUserModelID, DECL_WINDOWS_FUNCTION(static, HRESULT, SetCurrentProcessExplicitAppUserModelID,
(PCWSTR)); (PCWSTR));

View File

@ -621,7 +621,7 @@ extern const struct BackendVtable serial_backend;
void add_session_to_jumplist(const char * const sessionname); void add_session_to_jumplist(const char * const sessionname);
void remove_session_from_jumplist(const char * const sessionname); void remove_session_from_jumplist(const char * const sessionname);
void clear_jumplist(void); void clear_jumplist(void);
bool set_explicit_app_user_model_id(); bool set_explicit_app_user_model_id(void);
/* /*
* Exports from winnoise.c. * Exports from winnoise.c.