Automatic whitespace cleanup. No functional change.

This commit is contained in:
Matt Madia
2013-02-16 14:05:32 -05:00
parent 43b74aad59
commit fbcd94bde7
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
//
// Copyright (c) 2001-2003, OpenBeOS
//
// This software is part of the OpenBeOS distribution and is covered
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//
//
+6 -6
View File
@@ -2,7 +2,7 @@
//
// Copyright (c) 2001-2003, OpenBeOS
//
// This software is part of the OpenBeOS distribution and is covered
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//
//
@@ -31,23 +31,23 @@ usage()
int
main(int argc, char *argv[])
{
if (argc > 2)
usage();
else {
bool silent = false;
if (argc == 2) {
if (!strcmp(argv[1], "-s"))
silent = true;
else
usage();
}
if (!silent)
printf("%s\n", ttyname(STDIN_FILENO));
}
return (isatty(STDIN_FILENO) ? 0 : 1);
}