aboutsummaryrefslogtreecommitdiffstats
path: root/api/nci.h
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-10-30 06:03:21 +0100
committerSimon Rozman <simon@rozman.si>2020-10-31 10:41:46 +0100
commite630c3bec1c08475f79aaa1ea4b0cbac8f9ae29a (patch)
tree1b87671c9ddec6a64760ba9adbbced55867256ee /api/nci.h
parentapi: fallback to hard-coded version (diff)
downloadwintun-e630c3bec1c08475f79aaa1ea4b0cbac8f9ae29a.tar.xz
wintun-e630c3bec1c08475f79aaa1ea4b0cbac8f9ae29a.zip
api: fix zero-parameter C function prototypes
Reported-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/nci.h')
-rw-r--r--api/nci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/nci.h b/api/nci.h
index 5090c90..4288655 100644
--- a/api/nci.h
+++ b/api/nci.h
@@ -16,7 +16,7 @@ extern DWORD(WINAPI *NciGetConnectionName)(
_Out_opt_ DWORD *OutDestNameBytes);
void
-NciInit();
+NciInit(void);
void
-NciCleanup();
+NciCleanup(void);