diff options
| author | Andy Fiddaman <omnios@citrus-it.co.uk> | 2019-01-25 10:31:50 +0000 |
|---|---|---|
| committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2019-01-31 23:04:30 +0100 |
| commit | cf9a187ca73bc899270af62ab1cd99f2e205cf41 (patch) | |
| tree | 90cd9daf10114d0bb8d563364ed5051d0e560415 /usr/src/cmd/sgs/pvs/common/lintsup.c | |
| parent | 29a77b73a1e7f5d2b94fed029b676b4eba33440b (diff) | |
| download | illumos-joyent-cf9a187ca73bc899270af62ab1cd99f2e205cf41.tar.gz | |
10293 usr/cmd/sgs - remove lint and lint libraries
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Diffstat (limited to 'usr/src/cmd/sgs/pvs/common/lintsup.c')
| -rw-r--r-- | usr/src/cmd/sgs/pvs/common/lintsup.c | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/usr/src/cmd/sgs/pvs/common/lintsup.c b/usr/src/cmd/sgs/pvs/common/lintsup.c deleted file mode 100644 index be660649ea..0000000000 --- a/usr/src/cmd/sgs/pvs/common/lintsup.c +++ /dev/null @@ -1,49 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * 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. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ - -/* - * Copyright 2010 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -/* - * Supplimental Pseudo-code to get lint to consider - * these symbols used. - */ - -#include <debug.h> -#include "msg.h" - -#pragma error_messages(off, E_STATIC_UNUSED) - -static void -foo() -{ - dbg_print(0, _pvs_msg((Msg)&__pvs_msg[0])); - - alist_delete_by_offset(NULL, NULL); - (void) alist_insert_by_offset(NULL, NULL, 0, 0, 0); - alist_reset(NULL); - - (void) aplist_delete_value(NULL, NULL); - aplist_reset(NULL); - (void) aplist_test(NULL, NULL, 0); -} |
