summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-10-26 03:13:53 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-10-26 03:13:53 +0000
commitfc3490aa75dc59984a6e296723cb456489b677d9 (patch)
tree7b8f730f3eb25db32c348f868805bf1049524c10 /sys
parentddeb8754daca3d469ca0584ef837485cc657e03c (diff)
Don't use a cast for _POSIX_VDISABLE
Update _POSIX_VERSION to 199009
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/termios.h4
-rw-r--r--sys/sys/unistd.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/termios.h b/sys/sys/termios.h
index 56447f7b9b6..392e3c823cf 100644
--- a/sys/sys/termios.h
+++ b/sys/sys/termios.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: termios.h,v 1.3 1996/04/21 22:32:05 deraadt Exp $ */
+/* $OpenBSD: termios.h,v 1.4 1996/10/26 03:13:51 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 ((unsigned char)'\377')
+#define _POSIX_VDISABLE '\377'
#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 2a58fdf7f49..758be3f60bb 100644
--- a/sys/sys/unistd.h
+++ b/sys/sys/unistd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unistd.h,v 1.3 1996/08/01 05:26:03 tholo Exp $ */
+/* $OpenBSD: unistd.h,v 1.4 1996/10/26 03:13:52 tholo Exp $ */
/* $NetBSD: unistd.h,v 1.10 1994/06/29 06:46:06 cgd Exp $ */
/*
@@ -44,7 +44,7 @@
#define _POSIX_SAVED_IDS /* saved set-user-ID and set-group-ID */
-#define _POSIX_VERSION 198808L
+#define _POSIX_VERSION 199009L
#define _POSIX2_VERSION 199212L
/* execution-time symbolic constants */
@@ -53,7 +53,7 @@
/* too-long path components generate errors */
#define _POSIX_NO_TRUNC 1
/* may disable terminal special characters */
-#define _POSIX_VDISABLE ((unsigned char)'\377')
+#define _POSIX_VDISABLE '\377'
/* access function */
#define F_OK 0 /* test for existence of file */