summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-19 10:30:44 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-19 10:30:44 +0000
commit1d3e965968ca4af86c1e0a467b460fa85b0e51aa (patch)
treed4cdf421e65f47e1353705086821f0ee00d7088b /libexec
parentac84cf84cca2e5133767923de0c5054df6be36a3 (diff)
remove prototypes with no matching function
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/extern.h12
-rw-r--r--libexec/getty/gettytab.h8
2 files changed, 2 insertions, 18 deletions
diff --git a/libexec/getty/extern.h b/libexec/getty/extern.h
index e83d0c5120e..ecb2eddb4fa 100644
--- a/libexec/getty/extern.h
+++ b/libexec/getty/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.6 2015/07/16 04:31:25 tedu Exp $*/
+/* $OpenBSD: extern.h,v 1.7 2024/05/19 10:30:43 jsg Exp $*/
/*
* Copyright (c) 1993
@@ -31,21 +31,11 @@
* from: @(#)extern.h 8.1 (Berkeley) 6/4/93
*/
-struct delayval;
-
-int adelay(int, struct delayval *);
char *autobaud(void);
-int delaybits(void);
void gendefaults(void);
-int getent(char *, char *);
-int getflag(char *);
-long getnum(char *);
-char *getstr(char *, char **);
void gettable(char *, char *);
void makeenv(char *[]);
char *portselector(void);
-void set_ttydefaults(int);
void setchars(void);
void setdefaults(void);
void setflags(int);
-int speed(int);
diff --git a/libexec/getty/gettytab.h b/libexec/getty/gettytab.h
index cba986c052d..709f307db39 100644
--- a/libexec/getty/gettytab.h
+++ b/libexec/getty/gettytab.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gettytab.h,v 1.8 2015/11/06 16:42:30 tedu Exp $*/
+/* $OpenBSD: gettytab.h,v 1.9 2024/05/19 10:30:43 jsg Exp $*/
/*
* Copyright (c) 1983, 1993, 1994
@@ -151,12 +151,6 @@ struct gettyflags {
#define NP gettyflags[21].value
#define MB gettyflags[22].value
-int getent(char *, char *);
-long getnum(char *);
-int getflag(char *);
-char *getstr(char *, char **);
-
extern struct gettyflags gettyflags[];
extern struct gettynums gettynums[];
extern struct gettystrs gettystrs[];
-extern int hopcount;