summaryrefslogtreecommitdiff
path: root/term/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-10-01 21:45:20 +0000
committerRoland McGrath <roland@gnu.org>1999-10-01 21:45:20 +0000
commite974c97c3880954c22c8444279b2663406065621 (patch)
treeeff6498b5e2c391febe50652af00ab59569a6ef4 /term/Makefile
parent571422c27c919de580d9a44b821ced09f3f69d6f (diff)
1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
* term.h (NO_DEVICE): New macro, bit for termflags. (termflags): Change type to uint_fast32_t. * devio.c (device_open_reply): For D_NO_SUCH_DEVICE error reply, set NO_DEVICE flag in termflags. * users.c (open_hook): If NO_DEVICE flag set, return ENXIO immediately. If we put out an open request, check for that bit as well as NO_CARRIER changing in termflags and diagnose with ENXIO. * Makefile (device_replyServer-CPPFLAGS): New variable, turn off TypeCheck for this stub. This is necessary for error replies to get through to our server-side functions in devio.c.
Diffstat (limited to 'term/Makefile')
-rw-r--r--term/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/term/Makefile b/term/Makefile
index 341da8f0..8adbced3 100644
--- a/term/Makefile
+++ b/term/Makefile
@@ -1,5 +1,5 @@
-#
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+#
+# Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
# Written by Michael I. Bushnell, p/BSG.
#
# This file is part of the GNU Hurd.
@@ -27,6 +27,8 @@ LCLHDRS = term.h
DIST_FILES = ourmsg.defs
HURDLIBS=trivfs fshelp iohelp ports ihash shouldbeinlibc threads
-OBJS = $(subst .c,.o,$(SRCS)) termServer.o device_replyServer.o tioctlServer.o ourmsgUser.o
+OBJS = $(subst .c,.o,$(SRCS)) termServer.o device_replyServer.o tioctlServer.o ourmsgUser.o
include ../Makeconf
+
+device_replyServer-CPPFLAGS = -DTypeCheck=0 -Wno-unused # XXX