summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-21 05:00:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-21 05:00:49 +0000
commit9299db4d45f255b8fe176a23e4b33db8d85f5508 (patch)
tree93bb0788559a24bc5c8049b026b4d45a3c324cf9 /bin
parent2b420f805f31d3140396e09beb8a7a98056d23af (diff)
remove prototypes with no matching function and externs with no var
partly checked by millert@
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/extern.h3
-rw-r--r--bin/md5/crc.h3
-rw-r--r--bin/mt/mt.h4
-rw-r--r--bin/stty/extern.h6
4 files changed, 4 insertions, 12 deletions
diff --git a/bin/csh/extern.h b/bin/csh/extern.h
index cdbe62bbbb2..6a0744f6b44 100644
--- a/bin/csh/extern.h
+++ b/bin/csh/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.31 2018/09/18 17:48:22 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.32 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: extern.h,v 1.8 1996/10/31 23:50:54 christos Exp $ */
/*-
@@ -201,7 +201,6 @@ int prefix(Char *, Char *);
Char **saveblk(Char **);
Char *strip(Char *);
Char *quote(Char *);
-char *strspl(char *, char *);
void udvar(Char *);
/*
diff --git a/bin/md5/crc.h b/bin/md5/crc.h
index 2000c489c9b..65d2c2ed23c 100644
--- a/bin/md5/crc.h
+++ b/bin/md5/crc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: crc.h,v 1.4 2019/01/25 00:19:25 millert Exp $ */
+/* $OpenBSD: crc.h,v 1.5 2024/05/21 05:00:47 jsg Exp $ */
/*
* Copyright (c) 2004 Todd C. Miller <millert@openbsd.org>
@@ -28,4 +28,3 @@ void CKSUM_Init(CKSUM_CTX *);
void CKSUM_Update(CKSUM_CTX *, const u_int8_t *, size_t);
void CKSUM_Final(CKSUM_CTX *);
char *CKSUM_End(CKSUM_CTX *, char *);
-char *CKSUM_Data(const u_int8_t *, size_t, char *);
diff --git a/bin/mt/mt.h b/bin/mt/mt.h
index da24d3d4923..c677cb5a647 100644
--- a/bin/mt/mt.h
+++ b/bin/mt/mt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mt.h,v 1.3 2003/06/02 23:32:08 millert Exp $ */
+/* $OpenBSD: mt.h,v 1.4 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: mt.h,v 1.1 1996/03/05 20:39:36 scottr Exp $ */
/*-
@@ -37,8 +37,6 @@ int rmtopen(char *tape, int mode);
int rmtioctl(int command, int count);
struct mtget *rmtstatus(void);
-void interrupt(int signo); /* in case operator bangs on console */
-
/*
* Exit status codes
*/
diff --git a/bin/stty/extern.h b/bin/stty/extern.h
index beb5e1c1cc9..e6e8c41fe86 100644
--- a/bin/stty/extern.h
+++ b/bin/stty/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.6 2003/06/02 23:32:09 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.7 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: extern.h,v 1.8 1996/05/07 18:20:06 jtc Exp $ */
/*-
@@ -34,15 +34,11 @@
extern char *__progname;
-int c_cchars(const void *, const void *);
-int c_modes(const void *, const void *);
int csearch(char ***, struct info *);
-void checkredirect(void);
void gprint(struct termios *, struct winsize *, int);
void gread(struct termios *, char *);
int ksearch(char ***, struct info *);
int msearch(char ***, struct info *);
-void optlist(void);
void print(struct termios *, struct winsize *, int, enum FMT);
void usage(void);