diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-28 11:26:07 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-28 11:26:07 +0100 |
commit | 20d3ffa76a849e2105e72e6b7c8835de5e9c1b21 (patch) | |
tree | 499494cc69d012de99c840c53bcf0f50adf6b985 /term/mig-mutate.h | |
parent | a876dbadbb1fa625e3e5fa8bdffe803e6eb473d1 (diff) | |
download | hurd-20d3ffa76a849e2105e72e6b7c8835de5e9c1b21.tar.gz hurd-20d3ffa76a849e2105e72e6b7c8835de5e9c1b21.tar.bz2 hurd-20d3ffa76a849e2105e72e6b7c8835de5e9c1b21.zip |
term: fix receiver lookups in the tioctl server functions
* term/mig-mutate.h: New file.
* term/Makefile: Set tioctl-MIGSFLAGS.
* term/ptyio.c: Fix receiver lookups in the tioctl server functions.
* term/users.c: Likewise.
Diffstat (limited to 'term/mig-mutate.h')
-rw-r--r-- | term/mig-mutate.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/term/mig-mutate.h b/term/mig-mutate.h new file mode 100644 index 00000000..7cc13aaa --- /dev/null +++ b/term/mig-mutate.h @@ -0,0 +1,24 @@ +/* + Copyright (C) 2014 Free Software Foundation, Inc. + Written by Justus Winter. + + This file is part of the GNU Hurd. + + The GNU Hurd is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2, or (at + your option) any later version. + + The GNU Hurd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with the GNU Hurd. If not, see <http://www.gnu.org/licenses/>. */ + +/* Only CPP macro definitions should go in this file. */ + +#define IO_INTRAN trivfs_protid_t trivfs_begin_using_protid (io_t) +#define IO_DESTRUCTOR trivfs_end_using_protid (trivfs_protid_t) +#define TIOCTL_IMPORTS import "../libtrivfs/mig-decls.h"; |