summaryrefslogtreecommitdiffhomepage
path: root/src/debug
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-13 02:17:01 -0400
committermidipix <writeonce@midipix.org>2016-07-21 03:47:27 -0400
commit5399d490f74045133a0aeb1bd619c5fee8221c8a (patch)
tree36668796422f5fc5d7c615c5d5460189efa1c4b7 /src/debug
parent029664574763aa7725e490b2754aa00e74d8fdce (diff)
downloadptycon-5399d490f74045133a0aeb1bd619c5fee8221c8a.tar.bz2
ptycon-5399d490f74045133a0aeb1bd619c5fee8221c8a.tar.xz
threaded loop, debug threads: fix linkage of entry points (for i686/nt32).
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();