summaryrefslogtreecommitdiff
path: root/bin/pax/pax.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-11-26 16:04:18 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-11-26 16:04:18 +0000
commit5a955d4af575a7c0dba03b0ad4d9798c4e5fd479 (patch)
treec2dc1765ae0e2012208a7a0deac14007b1d9cfc9 /bin/pax/pax.c
parent9c1e50fe2f2fea6b1b9a1bb352e5cc45e4f24afd (diff)
mark functions as static when they're unused elsewhere, makes the
code slightly easier to understand. okay and tweak kn@
Diffstat (limited to 'bin/pax/pax.c')
-rw-r--r--bin/pax/pax.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/pax/pax.c b/bin/pax/pax.c
index 1bdb6160bd5..b961d0cea54 100644
--- a/bin/pax/pax.c
+++ b/bin/pax/pax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pax.c,v 1.56 2023/11/09 18:54:15 kn Exp $ */
+/* $OpenBSD: pax.c,v 1.57 2023/11/26 16:04:17 espie Exp $ */
/* $NetBSD: pax.c,v 1.5 1996/03/26 23:54:20 mrg Exp $ */
/*-
@@ -52,6 +52,7 @@
#include "pax.h"
#include "extern.h"
static int gen_init(void);
+static void sig_cleanup(int);
/*
* PAX main routines, general globals and some simple start up routines
@@ -337,7 +338,7 @@ main(int argc, char **argv)
* never....
*/
-void
+static void
sig_cleanup(int which_sig)
{
/*