From 1d3e965968ca4af86c1e0a467b460fa85b0e51aa Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 19 May 2024 10:30:44 +0000 Subject: remove prototypes with no matching function --- libexec/getty/extern.h | 12 +----------- libexec/getty/gettytab.h | 8 +------- 2 files changed, 2 insertions(+), 18 deletions(-) (limited to 'libexec') 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; -- cgit v1.2.3