inclusion if LINEMODE defined.
* sys_term.c: Declare getptyslave() and addard() static.
* telnetd.c: Declare _gettermname() and getterminaltype()
static.
* utility.c: Declare putstr() and nextitem() static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13540
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-07-01 Ezra Peisach <epeisach@mit.edu>
+
+ * state.c: Declate doclientstat() static and conditionalize
+ inclusion if LINEMODE defined.
+
+ * sys_term.c: Declare getptyslave() and addard() static.
+
+ * telnetd.c: Declare _gettermname() and getterminaltype() static.
+
+ * utility.c: Declare putstr() and nextitem() static.
+
2001-06-22 Ezra Peisach <epeisach@mit.edu>
* telnetd.c (main): Change variable sin to sin4.
extern void auth_request();
#endif
#ifdef LINEMODE
-extern void doclientstat();
+static void doclientstat(void);
#endif
#ifdef ENCRYPTION
extern void encrypt_send_support();
} /* end of suboption */
- void
+#ifdef LINEMODE
+static void
doclientstat()
{
clientstat(TELOPT_LINEMODE, WILL, 0);
}
+#endif
#define ADD(c) *ncp++ = c;
#define ADD_DATA(c) { *ncp++ = c; if (c == SE) *ncp++ = c; }
#endif
int dup_tty(int);
+static char **addarg(char **, char *);
/*
* init_termbuf()
* that is necessary. The return value is a file descriptor
* for the slave side.
*/
-void
+static void
getptyslave()
{
int t = -1;
char *name;
{
register char **argv;
- char **addarg();
extern char *getenv();
#ifdef SOLARIS
/*NOTREACHED*/
}
- char **
+static char **
addarg(argv, val)
register char **argv;
register char *val;
void doit P((struct sockaddr_in *));
int terminaltypeok P((char *));
+static void _gettermname(void);
int hostinfo = 1; /* do we print login banner? */
IAC, SB, TELOPT_TTYPE, TELQUAL_SEND, IAC, SE
};
- int
+static int
getterminaltype(name)
char *name;
{
int retval = -1;
- void _gettermname();
settimer(baseline);
#if defined(AUTHENTICATION)
return(retval);
} /* end of getterminaltype */
- void
+static void
_gettermname()
{
/*
* if the current address is a TELNET IAC ("I Am a Command")
* character.
*/
- char *
+static char *
nextitem(current)
char *current;
{
static char *putlocation;
- void
+static void
putstr(s)
register char *s;
{