diff options
| author | Surya Prakki <Surya.Prakki@Sun.COM> | 2009-11-11 21:59:42 -0800 |
|---|---|---|
| committer | Surya Prakki <Surya.Prakki@Sun.COM> | 2009-11-11 21:59:42 -0800 |
| commit | 80148899834a4078a2bd348504aa2d6de9752837 (patch) | |
| tree | 2507fe9efacd1d59cff98175438a5f4362468ed7 /usr/src/cmd/awk/main.c | |
| parent | 96c4a178a18cd52ee5001195f1552d9cef0c38f0 (diff) | |
| download | illumos-joyent-80148899834a4078a2bd348504aa2d6de9752837.tar.gz | |
6893690 some ON cmds are not lint clean
Diffstat (limited to 'usr/src/cmd/awk/main.c')
| -rw-r--r-- | usr/src/cmd/awk/main.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/src/cmd/awk/main.c b/usr/src/cmd/awk/main.c index ace889cdc2..4510477bdb 100644 --- a/usr/src/cmd/awk/main.c +++ b/usr/src/cmd/awk/main.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -21,15 +20,13 @@ */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <stdio.h> #include <ctype.h> #include <signal.h> @@ -152,7 +149,7 @@ main(int argc, char *argv[], char *envp[]) dprintf(("argc=%d, argv[0]=%s\n", argc, argv[0])); arginit(argc, (uchar **)argv); envinit((uchar **)envp); - yyparse(); + (void) yyparse(); if (fs) *FS = qstring(fs, '\0'); dprintf(("errorflag=%d\n", errorflag)); |
