summaryrefslogtreecommitdiffstats
path: root/bin/sh/cd.c
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-05-19 00:18:52 +0000
committersteve <steve@FreeBSD.org>1997-05-19 00:18:52 +0000
commit2f84314766994e7c599dfb2cb98cee628896f8c1 (patch)
treece707f65f9e2c0f19159478f30a699c4f56ba6d4 /bin/sh/cd.c
parentffb9c56f7662bb2fd416f5fa514795e0317af449 (diff)
downloadFreeBSD-src-2f84314766994e7c599dfb2cb98cee628896f8c1.zip
FreeBSD-src-2f84314766994e7c599dfb2cb98cee628896f8c1.tar.gz
Use the __unused attribute where warranted.
Diffstat (limited to 'bin/sh/cd.c')
-rw-r--r--bin/sh/cd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/sh/cd.c b/bin/sh/cd.c
index e825453..c33b7b6 100644
--- a/bin/sh/cd.c
+++ b/bin/sh/cd.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cd.c,v 1.14 1997/02/22 13:58:22 peter Exp $
+ * $Id: cd.c,v 1.15 1997/04/28 03:06:32 steve Exp $
*/
#ifndef lint
@@ -75,8 +75,8 @@ STATIC char *cdcomppath;
int
cdcmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
char *dest;
char *path;
@@ -213,8 +213,8 @@ updatepwd(dir)
int
pwdcmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
if (!getpwd())
error("getcwd() failed: %s", strerror(errno));
OpenPOWER on IntegriCloud