summaryrefslogtreecommitdiffstats
path: root/bin/stty
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 06:16:51 +0000
committersteve <steve@FreeBSD.org>1996-12-14 06:16:51 +0000
commita958416f1b4a022c358b94db0b8e6bcc6cb54ee0 (patch)
treef6c900411aae5013d22524ee4377362e17e0a2bb /bin/stty
parent1c6d77453c9343a570ad40843d4716a09846505d (diff)
downloadFreeBSD-src-a958416f1b4a022c358b94db0b8e6bcc6cb54ee0.zip
FreeBSD-src-a958416f1b4a022c358b94db0b8e6bcc6cb54ee0.tar.gz
-Wall cleaning.
Diffstat (limited to 'bin/stty')
-rw-r--r--bin/stty/cchar.c4
-rw-r--r--bin/stty/gfmt.c4
-rw-r--r--bin/stty/key.c10
-rw-r--r--bin/stty/modes.c4
-rw-r--r--bin/stty/print.c4
-rw-r--r--bin/stty/stty.c6
-rw-r--r--bin/stty/util.c4
7 files changed, 18 insertions, 18 deletions
diff --git a/bin/stty/cchar.c b/bin/stty/cchar.c
index 8b0c970..600592a 100644
--- a/bin/stty/cchar.c
+++ b/bin/stty/cchar.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cchar.c,v 1.3 1995/04/28 19:29:28 ache Exp $
+ * $Id: cchar.c,v 1.4 1995/05/30 00:07:25 rgrimes Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)cchar.c 8.5 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)cchar.c 8.5 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/stty/gfmt.c b/bin/stty/gfmt.c
index f6ef0e1..62b30dc 100644
--- a/bin/stty/gfmt.c
+++ b/bin/stty/gfmt.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: gfmt.c,v 1.3 1995/03/19 13:29:23 joerg Exp $
+ * $Id: gfmt.c,v 1.4 1995/05/30 00:07:26 rgrimes Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)gfmt.c 8.6 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)gfmt.c 8.6 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/stty/key.c b/bin/stty/key.c
index 58aa60e..d31e846 100644
--- a/bin/stty/key.c
+++ b/bin/stty/key.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: key.c,v 1.4 1995/04/28 19:29:29 ache Exp $
+ * $Id: key.c,v 1.5 1996/12/07 11:07:20 bde Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)key.c 8.3 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)key.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
@@ -192,11 +192,11 @@ f_extproc(ip)
struct info *ip;
{
- if (!ip->off) {
- int tmp = 1;
+ if (ip->off) {
+ int tmp = 0;
(void)ioctl(ip->fd, TIOCEXT, &tmp);
} else {
- int tmp = 0;
+ int tmp = 1;
(void)ioctl(ip->fd, TIOCEXT, &tmp);
}
}
diff --git a/bin/stty/modes.c b/bin/stty/modes.c
index 0aa7438..d86aa70 100644
--- a/bin/stty/modes.c
+++ b/bin/stty/modes.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: modes.c,v 1.2 1994/09/24 02:58:59 davidg Exp $
+ * $Id: modes.c,v 1.3 1995/04/29 15:17:17 bde Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)modes.c 8.3 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)modes.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/stty/print.c b/bin/stty/print.c
index 6df7fea..d110437 100644
--- a/bin/stty/print.c
+++ b/bin/stty/print.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: print.c,v 1.4 1995/04/29 15:17:16 bde Exp $
+ * $Id: print.c,v 1.5 1995/05/30 00:07:27 rgrimes Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
+static char const sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/stty/stty.c b/bin/stty/stty.c
index 0f5e925..c45ed57 100644
--- a/bin/stty/stty.c
+++ b/bin/stty/stty.c
@@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: stty.c,v 1.5 1995/07/02 08:54:27 joerg Exp $
+ * $Id: stty.c,v 1.6 1995/07/04 08:16:30 bde Exp $
*/
#ifndef lint
-static char copyright[] =
+static char const copyright[] =
"@(#) Copyright (c) 1989, 1991, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)stty.c 8.3 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)stty.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
diff --git a/bin/stty/util.c b/bin/stty/util.c
index 036c48e..6076887 100644
--- a/bin/stty/util.c
+++ b/bin/stty/util.c
@@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: util.c,v 1.2 1994/09/24 02:59:05 davidg Exp $
+ * $Id: util.c,v 1.3 1995/07/04 08:16:32 bde Exp $
*/
#ifndef lint
-static char sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94";
+static char const sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
OpenPOWER on IntegriCloud