diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-10 22:06:25 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-10 22:06:25 +0100 |
commit | e73613ee24cc5211c17b16f8190726f148c52a10 (patch) | |
tree | f6b5ba4cd2bbd8cdd7db3964018eaba6db262996 /api/wintun.h | |
parent | driver: do not allow compiler to reload PacketSize (diff) | |
download | wintun-e73613ee24cc5211c17b16f8190726f148c52a10.tar.xz wintun-e73613ee24cc5211c17b16f8190726f148c52a10.zip |
api: remove return value from logger function
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/wintun.h')
-rw-r--r-- | api/wintun.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/api/wintun.h b/api/wintun.h index b5d4d02..fb649ba 100644 --- a/api/wintun.h +++ b/api/wintun.h @@ -192,10 +192,8 @@ typedef enum * @param Level Message level. * * @param Message Message text. - * - * @return Anything - return value is ignored. */ -typedef BOOL(CALLBACK *WINTUN_LOGGER_CALLBACK)(_In_ WINTUN_LOGGER_LEVEL Level, _In_z_ const WCHAR *Message); +typedef void(CALLBACK *WINTUN_LOGGER_CALLBACK)(_In_ WINTUN_LOGGER_LEVEL Level, _In_z_ const WCHAR *Message); /** * Sets logger callback function. |