Make the termp and winp arguments for openpty, et al. const.
authormillert <millert@openbsd.org>
Wed, 20 Apr 2022 14:00:19 +0000 (14:00 +0000)
committermillert <millert@openbsd.org>
Wed, 20 Apr 2022 14:00:19 +0000 (14:00 +0000)
commit78fa49ead5f0889b599940410aaa89ed00d2943e
tree6317d2c9b6ab4a328032ac962d9225d8bd5ab8ba
parentc1e0a7dc0276732757b3437bc12ccafc0e5b4aa6
Make the termp and winp arguments for openpty, et al. const.
This matches the prototypes in glibc and musl libc.
From Matthew Martin. OK tb@
lib/libutil/openpty.3
lib/libutil/pty.c
lib/libutil/util.h