summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/sh/alias.c6
-rw-r--r--bin/sh/cd.c10
-rw-r--r--bin/sh/eval.c14
-rw-r--r--bin/sh/exec.c6
-rw-r--r--bin/sh/expand.c4
-rw-r--r--bin/sh/jobs.c12
-rw-r--r--bin/sh/miscbltin.c12
-rw-r--r--bin/sh/mkinit.c4
-rw-r--r--bin/sh/mksyntax.c6
-rw-r--r--bin/sh/parser.c6
-rw-r--r--bin/sh/var.c14
11 files changed, 47 insertions, 47 deletions
diff --git a/bin/sh/alias.c b/bin/sh/alias.c
index 12a0ec9..3e7dc4d 100644
--- a/bin/sh/alias.c
+++ b/bin/sh/alias.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: alias.c,v 1.7 1997/02/22 13:58:20 peter Exp $
+ * $Id: alias.c,v 1.8 1997/04/28 03:06:32 steve Exp $
*/
#ifndef lint
@@ -232,8 +232,8 @@ aliascmd(argc, argv)
int
unaliascmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
int i;
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));
diff --git a/bin/sh/eval.c b/bin/sh/eval.c
index 82f7f1f..acf21f6 100644
--- a/bin/sh/eval.c
+++ b/bin/sh/eval.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: eval.c,v 1.11 1997/02/22 13:58:23 peter Exp $
+ * $Id: eval.c,v 1.12 1997/04/28 03:06:33 steve Exp $
*/
#ifndef lint
@@ -903,8 +903,8 @@ prehash(n)
int
bltincmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
listsetvar(cmdenviron);
/*
@@ -968,8 +968,8 @@ returncmd(argc, argv)
int
falsecmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
return 1;
}
@@ -977,8 +977,8 @@ falsecmd(argc, argv)
int
truecmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
return 0;
}
diff --git a/bin/sh/exec.c b/bin/sh/exec.c
index 68ad4a7..63f7518 100644
--- a/bin/sh/exec.c
+++ b/bin/sh/exec.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: exec.c,v 1.9 1997/02/22 13:58:25 peter Exp $
+ * $Id: exec.c,v 1.10 1997/04/28 03:08:37 steve Exp $
*/
#ifndef lint
@@ -325,8 +325,8 @@ padvance(path, name)
int
hashcmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
struct tblentry **pp;
struct tblentry *cmdp;
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index 5d28bec..ec577fd 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: expand.c,v 1.16 1997/02/22 13:58:26 peter Exp $
+ * $Id: expand.c,v 1.17 1997/04/28 03:28:43 steve Exp $
*/
#ifndef lint
@@ -956,7 +956,7 @@ char *expdir;
STATIC void
expandmeta(str, flag)
struct strlist *str;
- int flag;
+ int flag __unused;
{
char *p;
struct strlist **savelastp;
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
index 2ba7616..16df2c0 100644
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: jobs.c,v 1.12 1997/02/22 13:58:29 peter Exp $
+ * $Id: jobs.c,v 1.13 1997/04/28 03:06:34 steve Exp $
*/
#ifndef lint
@@ -190,7 +190,7 @@ SHELLPROC {
#if JOBS
int
fgcmd(argc, argv)
- int argc;
+ int argc __unused;
char **argv;
{
struct job *jp;
@@ -255,8 +255,8 @@ restartjob(jp)
int
jobscmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
showjobs(0);
return 0;
@@ -415,7 +415,7 @@ waitcmd(argc, argv)
int
jobidcmd(argc, argv)
- int argc;
+ int argc __unused;
char **argv;
{
struct job *jp;
@@ -497,7 +497,7 @@ currentjob:
struct job *
makejob(node, nprocs)
- union node *node;
+ union node *node __unused;
int nprocs;
{
int i;
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c
index 2635f0b..c05e017 100644
--- a/bin/sh/miscbltin.c
+++ b/bin/sh/miscbltin.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: miscbltin.c,v 1.11 1997/02/22 13:58:35 peter Exp $
+ * $Id: miscbltin.c,v 1.12 1997/04/28 03:06:36 steve Exp $
*/
#ifndef lint
@@ -75,8 +75,8 @@ extern char **argptr; /* argument list for builtin command */
int
readcmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
char **ap;
int backslash;
@@ -159,7 +159,7 @@ readcmd(argc, argv)
int
umaskcmd(argc, argv)
- int argc;
+ int argc __unused;
char **argv;
{
char *ap;
@@ -289,8 +289,8 @@ static const struct limits limits[] = {
int
ulimitcmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
int c;
quad_t val = 0;
diff --git a/bin/sh/mkinit.c b/bin/sh/mkinit.c
index 1a5020f..fda310b 100644
--- a/bin/sh/mkinit.c
+++ b/bin/sh/mkinit.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mkinit.c,v 1.9 1997/02/22 13:58:36 peter Exp $
+ * $Id: mkinit.c,v 1.10 1997/04/28 03:06:37 steve Exp $
*/
#ifndef lint
@@ -168,7 +168,7 @@ void error __P((char *));
int
main(argc, argv)
- int argc;
+ int argc __unused;
char **argv;
{
char **ap;
diff --git a/bin/sh/mksyntax.c b/bin/sh/mksyntax.c
index d9000cb..a7abd7f 100644
--- a/bin/sh/mksyntax.c
+++ b/bin/sh/mksyntax.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: mksyntax.c,v 1.9 1997/02/22 13:58:37 peter Exp $
*/
#ifndef lint
@@ -117,8 +117,8 @@ static void digit_convert __P((void));
int
main(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
char c;
char d;
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index d65c5ee..c86f0a1 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: parser.c,v 1.19 1997/02/22 13:58:42 peter Exp $
+ * $Id: parser.c,v 1.20 1997/04/28 03:22:09 steve Exp $
*/
#ifndef lint
@@ -1515,8 +1515,8 @@ setprompt(which)
*/
char *
getprompt(unused)
- void *unused;
- {
+ void *unused __unused;
+{
switch (whichprompt) {
case 0:
return "";
diff --git a/bin/sh/var.c b/bin/sh/var.c
index f80b75b..a64cbfd 100644
--- a/bin/sh/var.c
+++ b/bin/sh/var.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: var.c,v 1.9 1997/02/22 13:58:47 peter Exp $
+ * $Id: var.c,v 1.10 1997/04/28 03:06:39 steve Exp $
*/
#ifndef lint
@@ -500,8 +500,8 @@ shprocvar() {
int
showvarscmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
struct var **vpp;
struct var *vp;
@@ -574,8 +574,8 @@ found:;
int
localcmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
char *name;
@@ -686,8 +686,8 @@ setvarcmd(argc, argv)
int
unsetcmd(argc, argv)
- int argc;
- char **argv;
+ int argc __unused;
+ char **argv __unused;
{
char **ap;
int i;
OpenPOWER on IntegriCloud