summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/pvs/common/lintsup.c
diff options
context:
space:
mode:
authorAli Bahrami <Ali.Bahrami@Sun.COM>2008-09-24 11:26:37 -0600
committerAli Bahrami <Ali.Bahrami@Sun.COM>2008-09-24 11:26:37 -0600
commit090a8d9e70b0696e7d9bc114c6e021757c9f04fe (patch)
tree65417695add89e61d46abf32dca758a050680bfe /usr/src/cmd/sgs/pvs/common/lintsup.c
parent5548c527e7ec2109f4f9ee52056afd33ada35516 (diff)
downloadillumos-joyent-090a8d9e70b0696e7d9bc114c6e021757c9f04fe.tar.gz
6749055 ld should generate GNU style VERSYM indexes for VERNEED records
PSARC/2008/603 ELF objects to adopt GNU-style Versym indexes
Diffstat (limited to 'usr/src/cmd/sgs/pvs/common/lintsup.c')
-rw-r--r--usr/src/cmd/sgs/pvs/common/lintsup.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/usr/src/cmd/sgs/pvs/common/lintsup.c b/usr/src/cmd/sgs/pvs/common/lintsup.c
index 12a83f0706..1cb5cfba78 100644
--- a/usr/src/cmd/sgs/pvs/common/lintsup.c
+++ b/usr/src/cmd/sgs/pvs/common/lintsup.c
@@ -22,10 +22,9 @@
/* PROTOLIB1 */
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Supplimental Pseudo-code to get lint to consider
@@ -39,4 +38,12 @@ 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);
}