From b0cced855d09c49e0e69937685d851d8cfc971f7 Mon Sep 17 00:00:00 2001 From: Joseph Battelle Date: Fri, 8 Dec 2023 22:54:46 -0800 Subject: [PATCH] Move `tcgetpgrp` and `tcsetpgrp` decls to `unistd.h` (#996) (#997) --- libc/calls/calls.h | 2 ++ libc/calls/termios.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/calls/calls.h b/libc/calls/calls.h index dbf7ca5bd43..01dfac77d43 100644 --- a/libc/calls/calls.h +++ b/libc/calls/calls.h @@ -163,6 +163,8 @@ int sigignore(int); int siginterrupt(int, int); int symlink(const char *, const char *); int symlinkat(const char *, int, const char *); +int tcgetpgrp(int); +int tcsetpgrp(int, int); int truncate(const char *, int64_t); int ttyname_r(int, char *, size_t); int unlink(const char *); diff --git a/libc/calls/termios.h b/libc/calls/termios.h index 834e3f26ed4..afb9a1cf8ca 100644 --- a/libc/calls/termios.h +++ b/libc/calls/termios.h @@ -24,11 +24,9 @@ int posix_openpt(int) __wur; int tcdrain(int); int tcgetsid(int); -int tcgetpgrp(int); int tcflow(int, int); int tcflush(int, int); int tcsetsid(int, int); -int tcsetpgrp(int, int); int tcsendbreak(int, int); void cfmakeraw(struct termios *); int cfsetspeed(struct termios *, uint32_t);