summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-02-07 17:12:12 +0000
committerjoerg <joerg@pkgsrc.org>2008-02-07 17:12:12 +0000
commit7bc6b5191716764a34aef6007309d2230e4262df (patch)
tree1c16aa375ce002a18cb7419d58bd5dac78a00b2c /net
parent182d2d805585dee14013757c79e1ddd9b227bbfe (diff)
downloadpkgsrc-7bc6b5191716764a34aef6007309d2230e4262df.tar.gz
Don't use __unused.
Diffstat (limited to 'net')
-rw-r--r--net/libfetch/files/file.c6
-rw-r--r--net/libfetch/files/ftp.c6
-rw-r--r--net/libfetch/files/http.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/net/libfetch/files/file.c b/net/libfetch/files/file.c
index 4ef4186743e..95d93c9d2d0 100644
--- a/net/libfetch/files/file.c
+++ b/net/libfetch/files/file.c
@@ -1,4 +1,4 @@
-/* $NetBSD: file.c,v 1.1.1.1 2008/02/07 01:48:22 joerg Exp $ */
+/* $NetBSD: file.c,v 1.2 2008/02/07 17:12:12 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -104,13 +104,13 @@ fetch_stat_file(const char *fn, struct url_stat *us)
}
int
-fetchStatFile(struct url *u, struct url_stat *us, const char *flags __unused)
+fetchStatFile(struct url *u, struct url_stat *us, const char *flags)
{
return (fetch_stat_file(u->doc, us));
}
struct url_ent *
-fetchListFile(struct url *u, const char *flags __unused)
+fetchListFile(struct url *u, const char *flags)
{
struct dirent *de;
struct url_stat us;
diff --git a/net/libfetch/files/ftp.c b/net/libfetch/files/ftp.c
index 1dad23aa02d..989ee26184f 100644
--- a/net/libfetch/files/ftp.c
+++ b/net/libfetch/files/ftp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ftp.c,v 1.2 2008/02/07 16:14:44 joerg Exp $ */
+/* $NetBSD: ftp.c,v 1.3 2008/02/07 17:12:12 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -550,7 +550,7 @@ ftp_writefn(void *v, const char *buf, int len)
}
static fpos_t
-ftp_seekfn(void *v, fpos_t pos __unused, int whence __unused)
+ftp_seekfn(void *v, fpos_t pos, int whence)
{
struct ftpio *io;
@@ -1195,7 +1195,7 @@ fetchStatFTP(struct url *url, struct url_stat *us, const char *flags)
* List a directory
*/
struct url_ent *
-fetchListFTP(struct url *url __unused, const char *flags __unused)
+fetchListFTP(struct url *url __unused, const char *flags)
{
warnx("fetchListFTP(): not implemented");
return (NULL);
diff --git a/net/libfetch/files/http.c b/net/libfetch/files/http.c
index 875ee9280d2..cfe5ae924e6 100644
--- a/net/libfetch/files/http.c
+++ b/net/libfetch/files/http.c
@@ -1,4 +1,4 @@
-/* $NetBSD: http.c,v 1.3 2008/02/07 16:24:01 joerg Exp $ */
+/* $NetBSD: http.c,v 1.4 2008/02/07 17:12:12 joerg Exp $ */
/*-
* Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -1199,7 +1199,7 @@ fetchGetHTTP(struct url *URL, const char *flags)
* Store a file by HTTP
*/
FILE *
-fetchPutHTTP(struct url *URL __unused, const char *flags __unused)
+fetchPutHTTP(struct url *URL __unused, const char *flags)
{
warnx("fetchPutHTTP(): not implemented");
return (NULL);
@@ -1224,7 +1224,7 @@ fetchStatHTTP(struct url *URL, struct url_stat *us, const char *flags)
* List a directory
*/
struct url_ent *
-fetchListHTTP(struct url *url __unused, const char *flags __unused)
+fetchListHTTP(struct url *url __unused, const char *flags)
{
warnx("fetchListHTTP(): not implemented");
return (NULL);