summaryrefslogtreecommitdiffstats
path: root/libexec/getty/extern.h
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-05-05 19:01:13 +0000
committerjoerg <joerg@FreeBSD.org>1996-05-05 19:01:13 +0000
commit289d83e1bca7867454702376e7598825b3bf49a2 (patch)
tree9fcbb1cf60af1a534cd4b1dc67cc99143428a872 /libexec/getty/extern.h
parentf6bfadad2892ae8e55931c0d104fa2b095ea2676 (diff)
downloadFreeBSD-src-289d83e1bca7867454702376e7598825b3bf49a2.zip
FreeBSD-src-289d83e1bca7867454702376e7598825b3bf49a2.tar.gz
Finally commit the changes that make getty(8) no longer depend on the
COMPAT_43 cruft. This is supposedly the last core utility that has been using it! (So now, one should be able to remove this option from the config files. Be aware that the last officially released xterm however still requires it.) The getty has been running now for several weeks on my modem line, so i feel safe about it. Obtained from: mostly from the NetBSD vendor-branch
Diffstat (limited to 'libexec/getty/extern.h')
-rw-r--r--libexec/getty/extern.h27
1 files changed, 16 insertions, 11 deletions
diff --git a/libexec/getty/extern.h b/libexec/getty/extern.h
index 3663166..bcffdae 100644
--- a/libexec/getty/extern.h
+++ b/libexec/getty/extern.h
@@ -31,27 +31,32 @@
* SUCH DAMAGE.
*
* from: @(#)extern.h 8.1 (Berkeley) 6/4/93
- * $Id: extern.h,v 1.2 1994/08/17 20:10:29 pk Exp $
+ * $Id: extern.h,v 1.1.1.4 1996/04/13 15:33:04 joerg Exp $
*/
struct delayval;
+struct termios;
+struct gettyflags;
+struct gettynums;
+struct gettystrs;
+
+extern char hostname[];
+extern int hopcount;
+extern struct termios tmode, omode;
+extern struct gettyflags gettyflags[];
+extern struct gettynums gettynums[];
+extern struct gettystrs gettystrs[];
int adelay __P((int, struct delayval *));
-char *autobaud __P((void));
+const char *autobaud __P((void));
int delaybits __P((void));
-void edithost __P((char *));
+void edithost __P((const char *));
void gendefaults __P((void));
-int getent __P((char *, char *));
-int getflag __P((char *));
-long getnum __P((char *));
-char *getstr __P((char *, char **));
-void gettable __P((char *, char *));
+void gettable __P((const char *, char *));
void makeenv __P((char *[]));
-char *portselector __P((void));
+const char *portselector __P((void));
void set_ttydefaults __P((int));
void setchars __P((void));
void setdefaults __P((void));
void setflags __P((int));
int speed __P((int));
-
-int login_tty __P((int)); /* From libutil. */
OpenPOWER on IntegriCloud