summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
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 /usr.bin/cvs
parent2b420f805f31d3140396e09beb8a7a98056d23af (diff)
remove prototypes with no matching function and externs with no var
partly checked by millert@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/diff.h9
-rw-r--r--usr.bin/cvs/history.c4
-rw-r--r--usr.bin/cvs/log.h3
-rw-r--r--usr.bin/cvs/rcs.h7
-rw-r--r--usr.bin/cvs/remote.h3
5 files changed, 5 insertions, 21 deletions
diff --git a/usr.bin/cvs/diff.h b/usr.bin/cvs/diff.h
index 9c297d51967..8951612d6b2 100644
--- a/usr.bin/cvs/diff.h
+++ b/usr.bin/cvs/diff.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.h,v 1.22 2010/07/28 21:19:30 nicm Exp $ */
+/* $OpenBSD: diff.h,v 1.23 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -110,13 +110,6 @@ int ed_patch_lines(struct rcs_lines *, struct rcs_lines *);
extern int diff_format;
extern int diff_context;
extern int diff3_conflicts;
-extern int diff_aflag;
-extern int diff_bflag;
-extern int diff_dflag;
-extern int diff_iflag;
-extern int diff_pflag;
-extern int diff_wflag;
-extern char *diff_file;
extern char diffargs[512]; /* XXX */
extern BUF *diffbuf;
extern RCSNUM *diff_rev1;
diff --git a/usr.bin/cvs/history.c b/usr.bin/cvs/history.c
index d9647b72e44..0e2e7049650 100644
--- a/usr.bin/cvs/history.c
+++ b/usr.bin/cvs/history.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: history.c,v 1.45 2017/07/20 13:39:11 okan Exp $ */
+/* $OpenBSD: history.c,v 1.46 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2007 Joris Vink <joris@openbsd.org>
*
@@ -29,8 +29,6 @@
#include "cvs.h"
#include "remote.h"
-void cvs_history_local(struct cvs_file *);
-
static void history_compress(char *, const char *);
struct cvs_cmd cvs_cmd_history = {
diff --git a/usr.bin/cvs/log.h b/usr.bin/cvs/log.h
index 6ca1520704f..4759b249610 100644
--- a/usr.bin/cvs/log.h
+++ b/usr.bin/cvs/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.23 2008/06/10 01:00:34 joris Exp $ */
+/* $OpenBSD: log.h,v 1.24 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -46,7 +46,6 @@
void cvs_log(u_int, const char *, ...) __attribute__((format(printf, 2, 3)));
void cvs_vlog(u_int, const char *, va_list);
int cvs_printf(const char *, ...) __attribute__((format(printf, 1, 2)));
-int cvs_vprintf(const char *, va_list);
void fatal(const char *, ...) __dead __attribute__((format(printf, 1,2)));
#endif /* LOG_H */
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h
index 55d8696c4db..bfd7e1ec4f6 100644
--- a/usr.bin/cvs/rcs.h
+++ b/usr.bin/cvs/rcs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.h,v 1.103 2017/08/28 19:33:20 otto Exp $ */
+/* $OpenBSD: rcs.h,v 1.104 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -211,7 +211,6 @@ const RCSNUM *rcs_branch_get(RCSFILE *);
int rcs_branch_set(RCSFILE *, const RCSNUM *);
int rcs_access_add(RCSFILE *, const char *);
int rcs_access_remove(RCSFILE *, const char *);
-int rcs_access_check(RCSFILE *, const char *);
struct rcs_delta *rcs_findrev(RCSFILE *, RCSNUM *);
int rcs_sym_add(RCSFILE *, const char *, RCSNUM *);
int rcs_sym_check(const char *);
@@ -229,7 +228,6 @@ void rcs_desc_set(RCSFILE *, const char *);
const char *rcs_comment_lookup(const char *);
const char *rcs_comment_get(RCSFILE *);
void rcs_comment_set(RCSFILE *, const char *);
-BUF *rcs_kwexp_buf(BUF *, RCSFILE *, RCSNUM *);
void rcs_kwexp_set(RCSFILE *, int);
int rcs_kwexp_get(RCSFILE *);
int rcs_rev_add(RCSFILE *, RCSNUM *, const char *, time_t,
@@ -240,7 +238,6 @@ int rcs_rev_remove(RCSFILE *, RCSNUM *);
int rcs_state_set(RCSFILE *, RCSNUM *, const char *);
const char *rcs_state_get(RCSFILE *, RCSNUM *);
int rcs_state_check(const char *);
-RCSNUM *rcs_tag_resolve(RCSFILE *, const char *);
void rcs_write(RCSFILE *);
int rcs_rev_write_stmp(RCSFILE *, RCSNUM *, char *, int);
void rcs_rev_write_fd(RCSFILE *, RCSNUM *, int, int);
@@ -252,8 +249,6 @@ BUF *rcs_rev_getbuf(RCSFILE *, RCSNUM *, int);
void rcs_delta_stats(struct rcs_delta *, int *, int *);
int rcs_kflag_get(const char *);
-void rcs_kflag_usage(void);
-int rcs_kw_expand(RCSFILE *, u_char *, size_t, size_t *);
RCSNUM *rcsnum_alloc(void);
RCSNUM *rcsnum_parse(const char *);
diff --git a/usr.bin/cvs/remote.h b/usr.bin/cvs/remote.h
index 3d67704ee22..e4aae79aba9 100644
--- a/usr.bin/cvs/remote.h
+++ b/usr.bin/cvs/remote.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: remote.h,v 1.38 2017/08/28 19:33:20 otto Exp $ */
+/* $OpenBSD: remote.h,v 1.39 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -49,7 +49,6 @@ extern int server_response;
#define CVS_SERVER_QUESTIONABLE '?'
void cvs_client_connect_to_server(void);
-void cvs_client_disconnect(void);
void cvs_client_send_logmsg(char *);
void cvs_client_send_request(char *, ...)
__attribute__((format(printf, 1, 2)));