summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjoerg <joerg>2010-03-21 16:35:01 +0000
committerjoerg <joerg>2010-03-21 16:35:01 +0000
commit6a7589d3c42e3813564402141d3c9bfb1d4b0a19 (patch)
tree26e119465671f04036ae95b5268f7afcc61dbc06 /archivers
parent88e9be107457a20f36774c5627eff0845681d08a (diff)
downloadpkgsrc-6a7589d3c42e3813564402141d3c9bfb1d4b0a19.tar.gz
Apply patches from PR 34941 to match prototype and implementatio w.r.t
static.
Diffstat (limited to 'archivers')
-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)
{