1*22ce4affSfengbojiang /*
2*22ce4affSfengbojiang  * CDDL HEADER START
3*22ce4affSfengbojiang  *
4*22ce4affSfengbojiang  * The contents of this file are subject to the terms of the
5*22ce4affSfengbojiang  * Common Development and Distribution License, Version 1.0 only
6*22ce4affSfengbojiang  * (the "License").  You may not use this file except in compliance
7*22ce4affSfengbojiang  * with the License.
8*22ce4affSfengbojiang  *
9*22ce4affSfengbojiang  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*22ce4affSfengbojiang  * or http://www.opensolaris.org/os/licensing.
11*22ce4affSfengbojiang  * See the License for the specific language governing permissions
12*22ce4affSfengbojiang  * and limitations under the License.
13*22ce4affSfengbojiang  *
14*22ce4affSfengbojiang  * When distributing Covered Code, include this CDDL HEADER in each
15*22ce4affSfengbojiang  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*22ce4affSfengbojiang  * If applicable, add the following below this CDDL HEADER, with the
17*22ce4affSfengbojiang  * fields enclosed by brackets "[]" replaced with your own identifying
18*22ce4affSfengbojiang  * information: Portions Copyright [yyyy] [name of copyright owner]
19*22ce4affSfengbojiang  *
20*22ce4affSfengbojiang  * CDDL HEADER END
21*22ce4affSfengbojiang  */
22*22ce4affSfengbojiang /*
23*22ce4affSfengbojiang  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*22ce4affSfengbojiang  * Use is subject to license terms.
25*22ce4affSfengbojiang  */
26*22ce4affSfengbojiang 
27*22ce4affSfengbojiang #ifndef _LIBSPL_SYS_DEBUG_H
28*22ce4affSfengbojiang #define	_LIBSPL_SYS_DEBUG_H
29*22ce4affSfengbojiang 
30*22ce4affSfengbojiang #include <assert.h>
31*22ce4affSfengbojiang 
32*22ce4affSfengbojiang #ifndef	__printflike
33*22ce4affSfengbojiang #define	__printflike(x, y) __attribute__((__format__(__printf__, x, y)))
34*22ce4affSfengbojiang #endif
35*22ce4affSfengbojiang 
36*22ce4affSfengbojiang #ifndef __maybe_unused
37*22ce4affSfengbojiang #define	__maybe_unused __attribute__((unused))
38*22ce4affSfengbojiang #endif
39*22ce4affSfengbojiang 
40*22ce4affSfengbojiang #endif
41