summaryrefslogtreecommitdiffhomepage
path: root/src/driver/ptyc_driver_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/ptyc_driver_ctx.c')
-rw-r--r--src/driver/ptyc_driver_ctx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/driver/ptyc_driver_ctx.c b/src/driver/ptyc_driver_ctx.c
index 20425b7..bda581b 100644
--- a/src/driver/ptyc_driver_ctx.c
+++ b/src/driver/ptyc_driver_ctx.c
@@ -22,6 +22,11 @@
#include "ptycon_driver_impl.h"
#include "argv/argv.h"
+/* pty integration */
+static const nt_tty_affiliation tty_affiliation
+ __attr_section__(".midipix")
+ = NT_TTY_AFFILIATION_DEFAULT;
+
/* ntapi accessor table */
const ntapi_vtbl * ptyc_ntapi;
@@ -63,6 +68,8 @@ static int32_t ptyc_vtbl_init(void)
int32_t status;
nt_timeout timeout;
+ (void)tty_affiliation;
+
switch (at_locked_cas_32(&ptyc_once,0,1)) {
case 0:
if ((status = ntcon_vtbl_init(&ptyc_ntcon_vtbl))) {