157ef7aa9SRod Evans /* 257ef7aa9SRod Evans * CDDL HEADER START 357ef7aa9SRod Evans * 457ef7aa9SRod Evans * The contents of this file are subject to the terms of the 557ef7aa9SRod Evans * Common Development and Distribution License (the "License"). 657ef7aa9SRod Evans * You may not use this file except in compliance with the License. 757ef7aa9SRod Evans * 857ef7aa9SRod Evans * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 957ef7aa9SRod Evans * or http://www.opensolaris.org/os/licensing. 1057ef7aa9SRod Evans * See the License for the specific language governing permissions 1157ef7aa9SRod Evans * and limitations under the License. 1257ef7aa9SRod Evans * 1357ef7aa9SRod Evans * When distributing Covered Code, include this CDDL HEADER in each 1457ef7aa9SRod Evans * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1557ef7aa9SRod Evans * If applicable, add the following below this CDDL HEADER, with the 1657ef7aa9SRod Evans * fields enclosed by brackets "[]" replaced with your own identifying 1757ef7aa9SRod Evans * information: Portions Copyright [yyyy] [name of copyright owner] 1857ef7aa9SRod Evans * 1957ef7aa9SRod Evans * CDDL HEADER END 2057ef7aa9SRod Evans */ 2157ef7aa9SRod Evans 2257ef7aa9SRod Evans /* 23*7c500f1bSSurya Prakki * Copyright 2010 Sun Microsystems, Inc. All rights reserved. 2457ef7aa9SRod Evans * Use is subject to license terms. 2557ef7aa9SRod Evans */ 2657ef7aa9SRod Evans 2757ef7aa9SRod Evans /* 2857ef7aa9SRod Evans * Supplimental Pseudo-code to get lint to consider these symbols used. 2957ef7aa9SRod Evans */ 3057ef7aa9SRod Evans 3157ef7aa9SRod Evans #include "alist.h" 3257ef7aa9SRod Evans 33*7c500f1bSSurya Prakki #pragma error_messages(off, E_STATIC_UNUSED) 34*7c500f1bSSurya Prakki 35*7c500f1bSSurya Prakki static void 3657ef7aa9SRod Evans foo() 3757ef7aa9SRod Evans { 3857ef7aa9SRod Evans (void) alist_append(NULL, NULL, 0, 0); 3957ef7aa9SRod Evans alist_delete_by_offset(NULL, NULL); 4057ef7aa9SRod Evans (void) alist_insert_by_offset(NULL, NULL, 0, 0, 0); 4157ef7aa9SRod Evans alist_reset(NULL); 4257ef7aa9SRod Evans 4357ef7aa9SRod Evans (void) aplist_delete_value(NULL, NULL); 4457ef7aa9SRod Evans aplist_reset(NULL); 4557ef7aa9SRod Evans (void) aplist_test(NULL, NULL, 0); 4657ef7aa9SRod Evans } 47