summaryrefslogtreecommitdiff
path: root/archivers/pax
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-03-21 16:35:01 +0000
committerjoerg <joerg@pkgsrc.org>2010-03-21 16:35:01 +0000
commitf437aa96800c3b8ff05894fc907d6b91e88a56c9 (patch)
tree26e119465671f04036ae95b5268f7afcc61dbc06 /archivers/pax
parentf12f412bd6ed1291dba170a15cf9b110bf0b1599 (diff)
downloadpkgsrc-f437aa96800c3b8ff05894fc907d6b91e88a56c9.tar.gz
Apply patches from PR 34941 to match prototype and implementatio w.r.t
static.
Diffstat (limited to 'archivers/pax')
-rw-r--r--archivers/pax/files/ar_io.c6
-rw-r--r--archivers/pax/files/options.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/archivers/pax/files/ar_io.c b/archivers/pax/files/ar_io.c
index 98a1949a2a5..0bbbb1d3455 100644
--- a/archivers/pax/files/ar_io.c
+++ b/archivers/pax/files/ar_io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ar_io.c,v 1.11 2007/09/06 20:10:22 joerg Exp $ */
+/* $NetBSD: ar_io.c,v 1.12 2010/03/21 16:35:01 joerg Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -48,7 +48,7 @@
#if 0
static char sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
#else
-__RCSID("$NetBSD: ar_io.c,v 1.11 2007/09/06 20:10:22 joerg Exp $");
+__RCSID("$NetBSD: ar_io.c,v 1.12 2010/03/21 16:35:01 joerg Exp $");
#endif
#endif /* not lint */
@@ -1634,7 +1634,7 @@ ar_next(void)
* to keep the fd the same in the calling function (parent). possible
* programs are GZIP_CMD, BZIP2_CMD, and COMPRESS_CMD.
*/
-void
+static void
ar_start_gzip(int fd, const char *gzp, int wr)
{
int fds[2];
diff --git a/archivers/pax/files/options.c b/archivers/pax/files/options.c
index fd818952f2a..0605fafffa6 100644
--- a/archivers/pax/files/options.c
+++ b/archivers/pax/files/options.c
@@ -1,4 +1,4 @@
-/* $NetBSD: options.c,v 1.10 2009/08/06 13:54:03 joerg Exp $ */
+/* $NetBSD: options.c,v 1.11 2010/03/21 16:35:01 joerg Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -48,7 +48,7 @@
#if 0
static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#else
-__RCSID("$NetBSD: options.c,v 1.10 2009/08/06 13:54:03 joerg Exp $");
+__RCSID("$NetBSD: options.c,v 1.11 2010/03/21 16:35:01 joerg Exp $");
#endif
#endif /* not lint */
@@ -2048,7 +2048,7 @@ no_op(void)
* print the usage summary to the user
*/
-void
+static void
pax_usage(void)
{
fprintf(stderr,
@@ -2077,7 +2077,7 @@ pax_usage(void)
* print the usage summary to the user
*/
-void
+static void
tar_usage(void)
{
(void)fputs("usage: tar [-]{crtux}[-befhjlmopqvwzHOPSXZ014578] [archive] "
@@ -2094,7 +2094,7 @@ tar_usage(void)
* print the usage summary to the user
*/
-void
+static void
cpio_usage(void)
{