diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2013-04-17 17:40:36 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2013-04-17 17:40:36 +0000 |
commit | f8ffcc0023521d2938d013a064aafa8b97fdc6c4 (patch) | |
tree | eeb4e10404170c661ad78ddfadba9e51f222f564 /lib/libc/gen/isatty.c | |
parent | 8f8f0c818581c09d982ddb812384f11f397421b3 (diff) |
add some prototypes, casts, includes, parenthesis, and whatnot to
silence some warnings.
Diffstat (limited to 'lib/libc/gen/isatty.c')
-rw-r--r-- | lib/libc/gen/isatty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/isatty.c b/lib/libc/gen/isatty.c index 1915c6c3392..0a94648a29f 100644 --- a/lib/libc/gen/isatty.c +++ b/lib/libc/gen/isatty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isatty.c,v 1.7 2007/05/23 18:30:07 kurt Exp $ */ +/* $OpenBSD: isatty.c,v 1.8 2013/04/17 17:40:35 tedu Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -29,6 +29,7 @@ */ #include <termios.h> +#include <unistd.h> int isatty(int fd) |