summaryrefslogtreecommitdiff
path: root/term/term.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-06-10 16:20:37 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-06-15 17:55:51 +0200
commit6f874305906b18a6bd7ba02f7dee949948e41262 (patch)
treecfa1119d8a9c92648eb91d2f1a43185998bbd792 /term/term.h
parentd73b0ee5f32bdf769a5d9d19c4cc590df07c1bef (diff)
hurd: fix receiver lookup in termctty_open_terminal
* hurd/hurd_types.h (ctty_t): New type definition. * hurd/term.defs (ctty_t): New type definition. * term/mig-decls.h: New file. * term/mig-mutate.h: Add mutators, includes. * term/term.h: Add include guards. * term/users.c (S_termctty_open_terminal): Fix receiver lookup. * boot/boot.c (S_termctty_open_terminal): Likewise.
Diffstat (limited to 'term/term.h')
-rw-r--r--term/term.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/term/term.h b/term/term.h
index df82b6c9..3067425c 100644
--- a/term/term.h
+++ b/term/term.h
@@ -18,6 +18,9 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
+#ifndef __HURD_TERM_H__
+#define __HURD_TERM_H__
+
#include <pthread.h>
#include <assert.h>
#include <errno.h>
@@ -391,3 +394,5 @@ error_t pty_io_select (struct trivfs_protid *, mach_port_t,
error_t pty_open_hook (struct trivfs_control *, struct iouser *, int);
error_t pty_po_create_hook (struct trivfs_peropen *);
error_t pty_po_destroy_hook (struct trivfs_peropen *);
+
+#endif /* __HURD_TERM_H__ */