summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-10-26 06:54:44 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-10-26 06:54:44 +0000
commit7e951c2856ce78b0215f0290bb75e6de0f8fa40f (patch)
treec6b3cca22876414895118b674af4c45fba686270
parent3367ebd4bd5e928e05ef4e300da4e319028c37f4 (diff)
Define _POSIX_VDISABLE as (0377), not '\377'
-rw-r--r--sys/sys/termios.h4
-rw-r--r--sys/sys/unistd.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/termios.h b/sys/sys/termios.h
index 392e3c823cf..9e5102fc662 100644
--- a/sys/sys/termios.h
+++ b/sys/sys/termios.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: termios.h,v 1.4 1996/10/26 03:13:51 tholo Exp $ */
+/* $OpenBSD: termios.h,v 1.5 1996/10/26 06:54:42 tholo Exp $ */
/* $NetBSD: termios.h,v 1.14 1996/04/09 20:55:41 cgd Exp $ */
/*
@@ -80,7 +80,7 @@
#endif
#define NCCS 20
-#define _POSIX_VDISABLE '\377'
+#define _POSIX_VDISABLE (0377)
#ifndef _POSIX_SOURCE
#define CCEQ(val, c) (c == val ? val != _POSIX_VDISABLE : 0)
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h
index 758be3f60bb..d0d760e61e2 100644
--- a/sys/sys/unistd.h
+++ b/sys/sys/unistd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unistd.h,v 1.4 1996/10/26 03:13:52 tholo Exp $ */
+/* $OpenBSD: unistd.h,v 1.5 1996/10/26 06:54:43 tholo Exp $ */
/* $NetBSD: unistd.h,v 1.10 1994/06/29 06:46:06 cgd Exp $ */
/*
@@ -53,7 +53,7 @@
/* too-long path components generate errors */
#define _POSIX_NO_TRUNC 1
/* may disable terminal special characters */
-#define _POSIX_VDISABLE '\377'
+#define _POSIX_VDISABLE (0377)
/* access function */
#define F_OK 0 /* test for existence of file */