aboutsummaryrefslogtreecommitdiff
path: root/libexec/getty/extern.h
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-05-05 19:01:13 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-05-05 19:01:13 +0000
commitcae66988a190d73deee79d809ee673ff58e1186b (patch)
tree9fcbb1cf60af1a534cd4b1dc67cc99143428a872 /libexec/getty/extern.h
parent3af9eab18ea272c4c6f72b23c8b17f9e8398da18 (diff)
downloadsrc-cae66988a190d73deee79d809ee673ff58e1186b.tar.gz
src-cae66988a190d73deee79d809ee673ff58e1186b.zip
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
Notes
Notes: svn path=/head/; revision=15645
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 366316641b80..bcffdae3d04d 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. */