linux ttyname: Change return type of is_pty from int to bool
commitd10d6cab168ffa26ef6a506655ee5dc8537c8ed7
authorLuke Shumaker <lukeshu@parabola.nu>
Wed, 15 Nov 2017 19:33:11 +0000 (15 20:33 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 15 Nov 2017 19:47:02 +0000 (15 20:47 +0100)
treeccd40f8f9aebad8556d7fb8b7d65ac07d0fd0eb8
parent9b5a87502d048905c383b65c51768f4a1db8c685
linux ttyname: Change return type of is_pty from int to bool

is_pty returning a bool is fine since there's no possible outcome other than
true or false, and bool is used throughout the codebase.

Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
ChangeLog
sysdeps/unix/sysv/linux/ttyname.h