summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/ed.term.c
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2005-04-24 19:41:08 +0000
committermp <mp@FreeBSD.org>2005-04-24 19:41:08 +0000
commit94a109bd814074f290affa8f7698847719d55833 (patch)
tree6daeb0464a7bc8705c0246b7fd98e212b6beed09 /contrib/tcsh/ed.term.c
parentbbd1addf8f9452690ad13ce5b875ee4cc9633958 (diff)
downloadFreeBSD-src-94a109bd814074f290affa8f7698847719d55833.zip
FreeBSD-src-94a109bd814074f290affa8f7698847719d55833.tar.gz
Import of tcsh-6.14.00
Diffstat (limited to 'contrib/tcsh/ed.term.c')
-rw-r--r--contrib/tcsh/ed.term.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/tcsh/ed.term.c b/contrib/tcsh/ed.term.c
index ebda35f..ae1169b 100644
--- a/contrib/tcsh/ed.term.c
+++ b/contrib/tcsh/ed.term.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/ed.term.c,v 1.29 2003/05/26 07:11:06 christos Exp $ */
+/* $Header: /src/pub/tcsh/ed.term.c,v 1.31 2004/11/23 02:10:48 christos Exp $ */
/*
* ed.term.c: Low level terminal interface
*/
@@ -33,7 +33,7 @@
#include "sh.h"
#ifndef WINNT_NATIVE
-RCSID("$Id: ed.term.c,v 1.29 2003/05/26 07:11:06 christos Exp $")
+RCSID("$Id: ed.term.c,v 1.31 2004/11/23 02:10:48 christos Exp $")
#include "ed.h"
@@ -85,7 +85,7 @@ ttyperm_t ttylist = {
};
static struct tcshmodes {
- char *m_name;
+ const char *m_name;
#ifdef SOLARIS2
unsigned long m_value;
#else /* !SOLARIS2 */
@@ -1092,7 +1092,7 @@ tty_setdisc(fd, dis)
int fd;
int dis;
{
- static bool edit_discipline = 0;
+ static int edit_discipline = 0;
static union txname tx_disc;
extern char strPOSIX[];
OpenPOWER on IntegriCloud