summaryrefslogtreecommitdiffhomepage
path: root/src/ptycon.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-17 04:14:47 -0500
committermidipix <writeonce@midipix.org>2016-11-17 04:14:47 -0500
commit7853748e44b8c4f24573b9e97e9ab21c8ee2a0d1 (patch)
treeb60935751e2850b8ebdec55a6df1391c9dd45fac /src/ptycon.c
parent0530d0723aa5505aa0c45132658b922dae730337 (diff)
downloadptycon-7853748e44b8c4f24573b9e97e9ab21c8ee2a0d1.tar.bz2
ptycon-7853748e44b8c4f24573b9e97e9ab21c8ee2a0d1.tar.xz
set tty affiliation in the driver, effective for both the library and utility.
Diffstat (limited to 'src/ptycon.c')
-rw-r--r--src/ptycon.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ptycon.c b/src/ptycon.c
index 1999494..8f5bd52 100644
--- a/src/ptycon.c
+++ b/src/ptycon.c
@@ -12,10 +12,6 @@
static const nt_guid ptycon_daemon_guid = PTYC_PORT_GUID_DAEMON;
-static const nt_tty_affiliation tty_affiliation
- __attr_section__(".midipix")
- = NT_TTY_AFFILIATION_DEFAULT;
-
static void ptycon_exit(int code)
{
/* posix exit code? */
@@ -135,7 +131,6 @@ static int __stdcall ptycon_daemon_entry_point(void * arg)
char ** envp;
(void)arg;
- (void)tty_affiliation;
if ((status = ntapi->tt_get_argv_envp_utf8(
&argc,&argv,&envp,