summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.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/parser.c
parentffb9c56f7662bb2fd416f5fa514795e0317af449 (diff)
downloadFreeBSD-src-2f84314766994e7c599dfb2cb98cee628896f8c1.zip
FreeBSD-src-2f84314766994e7c599dfb2cb98cee628896f8c1.tar.gz
Use the __unused attribute where warranted.
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c6
1 files changed, 3 insertions, 3 deletions
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 "";
OpenPOWER on IntegriCloud