summaryrefslogtreecommitdiffhomepage
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/ptyc_dbg_cat.c2
-rw-r--r--src/debug/ptyc_dbg_event.c2
-rw-r--r--src/debug/ptyc_dbg_oven.c2
-rw-r--r--src/debug/ptyc_dbg_raw.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/debug/ptyc_dbg_cat.c b/src/debug/ptyc_dbg_cat.c
index 4e5e63b..9cb54f6 100644
--- a/src/debug/ptyc_dbg_cat.c
+++ b/src/debug/ptyc_dbg_cat.c
@@ -125,7 +125,7 @@ static int32_t ptyc_cat(
: status;
}
-int ptyc_dbg_cat(struct ptyc_driver_ctx * dctx)
+int __stdcall ptyc_dbg_cat(struct ptyc_driver_ctx * dctx)
{
int32_t status;
void * hevent;
diff --git a/src/debug/ptyc_dbg_event.c b/src/debug/ptyc_dbg_event.c
index 1398408..2577389 100644
--- a/src/debug/ptyc_dbg_event.c
+++ b/src/debug/ptyc_dbg_event.c
@@ -92,7 +92,7 @@ static int ptyc_dbg_input_record(void * hout, nt_input_record * rec)
}
-int ptyc_dbg_event(struct ptyc_driver_ctx_impl * ictx)
+int __stdcall ptyc_dbg_event(struct ptyc_driver_ctx_impl * ictx)
{
nt_input_record conevt[64];
uint32_t nread;
diff --git a/src/debug/ptyc_dbg_oven.c b/src/debug/ptyc_dbg_oven.c
index 393076d..7357f57 100644
--- a/src/debug/ptyc_dbg_oven.c
+++ b/src/debug/ptyc_dbg_oven.c
@@ -12,7 +12,7 @@
#include <ptycon/ptycon.h>
#include "ptycon_driver_impl.h"
-int ptyc_dbg_oven(struct ptyc_driver_ctx_impl * ictx)
+int __stdcall ptyc_dbg_oven(struct ptyc_driver_ctx_impl * ictx)
{
(void)ictx;
return ntapi->tt_wait_for_dummy_event();
diff --git a/src/debug/ptyc_dbg_raw.c b/src/debug/ptyc_dbg_raw.c
index 8804ca6..0e5814f 100644
--- a/src/debug/ptyc_dbg_raw.c
+++ b/src/debug/ptyc_dbg_raw.c
@@ -12,7 +12,7 @@
#include <ptycon/ptycon.h>
#include "ptycon_driver_impl.h"
-int ptyc_dbg_raw(struct ptyc_driver_ctx_impl * ictx)
+int __stdcall ptyc_dbg_raw(struct ptyc_driver_ctx_impl * ictx)
{
(void)ictx;
return ntapi->tt_wait_for_dummy_event();