diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-01-29 10:47:48 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-01-29 10:47:48 -0500 |
commit | e6093b5a870a38ebfb3e54382acd48c698bde15d (patch) | |
tree | e6cf6eaa7956d34cf382d6f48e9abad5fdb838dc /include/sys | |
parent | a0217a2ff78ce88fe90e3345d2ee35ab53e3901e (diff) | |
download | musl-e6093b5a870a38ebfb3e54382acd48c698bde15d.tar.gz musl-e6093b5a870a38ebfb3e54382acd48c698bde15d.tar.bz2 musl-e6093b5a870a38ebfb3e54382acd48c698bde15d.tar.xz musl-e6093b5a870a38ebfb3e54382acd48c698bde15d.zip |
fix misleading use of _POSIX_VDISABLE in sys/ttydefaults.h
_POSIX_VDISABLE is only visible if unistd.h has already been included,
so conditional use of it here makes no sense. the value is always 0
anyway; it does not vary.
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/ttydefaults.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sys/ttydefaults.h b/include/sys/ttydefaults.h index e5d4da2b..edb55bc4 100644 --- a/include/sys/ttydefaults.h +++ b/include/sys/ttydefaults.h @@ -9,13 +9,8 @@ #define CTRL(x) ((x)&037) #define CEOF CTRL('d') -#ifdef _POSIX_VDISABLE -#define CEOL _POSIX_VDISABLE -#define CSTATUS _POSIX_VDISABLE -#else #define CEOL '\0' #define CSTATUS '\0' -#endif #define CERASE 0177 #define CINTR CTRL('c') |