diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-04-07 12:07:18 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-04-07 12:11:35 +0200 |
commit | afd266c9c00c99c87d14ef2bc4060413656f4448 (patch) | |
tree | 0856df31eae5356987a7a51b6ff4e1320acbc73d /libmachdev/mig-mutate.h | |
parent | fe9c72e60a59109bff7558224871ac5e80b9f38d (diff) |
libports: fix notify_port_t receiver lookups
This is a patch that in conjunction with
e9687ec4ff525ae4a88314ba4ae97da770bd012f fixes the receiver lookups
for the notify_port_t type.
* devnode/Makefile (MIGSFLAGS): Use mig-mutate.h.
* eth-filter/Makefile: Likewise.
* eth-multiplexer/Makefile: Likewise.
* libmachdev/Makefile: Likewise.
* devnode/mig-mutate.h: New file.
* eth-filter/mig-mutate.h: Likewise.
* eth-multiplexer/mig-mutate.h: Likewise.
* libmachdev/mig-mutate.h: Likewise.
* devnode/devnode.c: Adjust accordingly.
* eth-filter/filter.c: Likewise.
* eth-multiplexer/notify_impl.c: Likewise.
* libmachdev/trivfs_server.c: Likewise.
Diffstat (limited to 'libmachdev/mig-mutate.h')
-rw-r--r-- | libmachdev/mig-mutate.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libmachdev/mig-mutate.h b/libmachdev/mig-mutate.h new file mode 100644 index 00000000..f692236e --- /dev/null +++ b/libmachdev/mig-mutate.h @@ -0,0 +1,25 @@ +/* + 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/>. */ + +#define NOTIFY_INTRAN \ + port_info_t begin_using_port_info_port (mach_port_t) +#define NOTIFY_DESTRUCTOR \ + end_using_port_info (port_info_t) +#define NOTIFY_IMPORTS \ + import "libports/mig-decls.h"; |