summaryrefslogtreecommitdiffstats
path: root/bin/dd
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2001-06-29 20:06:47 +0000
committergreen <green@FreeBSD.org>2001-06-29 20:06:47 +0000
commita9b531b74da3c5e815e2d5513c437dd4d58fcf83 (patch)
treee1600e85d13e84bc98f1f59ec1416c73fbbb87a1 /bin/dd
parent07bc06593e062649ffe0477c538ce253f8be2a64 (diff)
downloadFreeBSD-src-a9b531b74da3c5e815e2d5513c437dd4d58fcf83.zip
FreeBSD-src-a9b531b74da3c5e815e2d5513c437dd4d58fcf83.tar.gz
Use __unused for non-used variables.
Submitted by: Mike Barcroft <mike@q9media.com>
Diffstat (limited to 'bin/dd')
-rw-r--r--bin/dd/dd.c2
-rw-r--r--bin/dd/misc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/dd/dd.c b/bin/dd/dd.c
index a5bb032..04f9573 100644
--- a/bin/dd/dd.c
+++ b/bin/dd/dd.c
@@ -87,7 +87,7 @@ const u_char *ctab; /* conversion table */
int
main(argc, argv)
- int argc;
+ int argc __unused;
char *argv[];
{
(void)setlocale(LC_CTYPE, "");
diff --git a/bin/dd/misc.c b/bin/dd/misc.c
index 296a018..654462e 100644
--- a/bin/dd/misc.c
+++ b/bin/dd/misc.c
@@ -90,7 +90,7 @@ summary()
/* ARGSUSED */
void
summaryx(notused)
- int notused;
+ int notused __unused;
{
int save_errno = errno;
OpenPOWER on IntegriCloud