4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22 /*
23 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
24 */
25 /* LINTLIBRARY */
26 /* PROTOLIB1 */
27
28 /*
29 * Supplemental definitions for lint that help us avoid
30 * options like `-x' that filter out things we want to
31 * know about as well as things we don't.
32 */
33
34 /*
35 * The public interfaces are allowed to be "declared
36 * but not used".
37 */
38 #include <stdio.h>
39 #include <sys/auxv.h>
40 #include <libelf.h>
41 #include <link.h>
42 #include <demangle.h>
43 #include <elfcap.h>
44 #include <dwarf.h>
45 #include "sgs.h"
46 #include "rtld.h"
47 #include "libld.h"
48 #include "conv.h"
49
50 /*
51 * Suppress the actual message codes from the sgsmsg headers.
52 * With multiple string tables, we will have name collisions.
53 */
54 #define LINTSUP_SUPPRESS_STRINGS
55 #include "arch_msg.h"
56 #include "audit_msg.h"
57 #include "c_literal_msg.h"
58 #include "cap_msg.h"
59 #include "config_msg.h"
60 #include "corenote_msg.h"
61 #include "data_msg.h"
62 #include "deftag_msg.h"
|
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22 /*
23 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
24 * Copyright 2018, Joyent, Inc.
25 */
26 /* LINTLIBRARY */
27 /* PROTOLIB1 */
28
29 /*
30 * Supplemental definitions for lint that help us avoid
31 * options like `-x' that filter out things we want to
32 * know about as well as things we don't.
33 */
34
35 /*
36 * The public interfaces are allowed to be "declared
37 * but not used".
38 */
39 #include <stdio.h>
40 #include <sys/auxv.h>
41 #include <libelf.h>
42 #include <link.h>
43 #include <elfcap.h>
44 #include <dwarf.h>
45 #include "sgs.h"
46 #include "rtld.h"
47 #include "libld.h"
48 #include "conv.h"
49
50 /*
51 * Suppress the actual message codes from the sgsmsg headers.
52 * With multiple string tables, we will have name collisions.
53 */
54 #define LINTSUP_SUPPRESS_STRINGS
55 #include "arch_msg.h"
56 #include "audit_msg.h"
57 #include "c_literal_msg.h"
58 #include "cap_msg.h"
59 #include "config_msg.h"
60 #include "corenote_msg.h"
61 #include "data_msg.h"
62 #include "deftag_msg.h"
|