_stdint.h revision 222813
138032Speter/*-
294334Sgshapiro * Copyright (c) 2011 David E. O'Brien <obrien@FreeBSD.org>
364562Sgshapiro * Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
438032Speter * All rights reserved.
538032Speter *
638032Speter * Redistribution and use in source and binary forms, with or without
738032Speter * modification, are permitted provided that the following conditions
838032Speter * are met:
938032Speter * 1. Redistributions of source code must retain the above copyright
1038032Speter *    notice, this list of conditions and the following disclaimer.
1138032Speter * 2. Redistributions in binary form must reproduce the above copyright
1238032Speter *    notice, this list of conditions and the following disclaimer in the
1338032Speter *    documentation and/or other materials provided with the distribution.
1464562Sgshapiro *
1538032Speter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1698841Sgshapiro * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1790792Sgshapiro * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1890792Sgshapiro * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1964562Sgshapiro * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2064562Sgshapiro * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2164562Sgshapiro * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2294334Sgshapiro * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2364562Sgshapiro * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2494334Sgshapiro * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2594334Sgshapiro * SUCH DAMAGE.
2694334Sgshapiro *
2738032Speter * $FreeBSD: head/sys/sys/_stdint.h 222813 2011-06-07 08:46:13Z attilio $
2838032Speter */
2938032Speter
3038032Speter#ifndef _SYS__STDINT_H_
3138032Speter#define _SYS__STDINT_H_
3238032Speter
3338032Speter#ifndef _INT8_T_DECLARED
3438032Spetertypedef	__int8_t		int8_t;
3538032Speter#define	_INT8_T_DECLARED
3638032Speter#endif
3738032Speter
3838032Speter#ifndef _INT16_T_DECLARED
3938032Spetertypedef	__int16_t		int16_t;
4038032Speter#define	_INT16_T_DECLARED
4138032Speter#endif
4238032Speter
4338032Speter#ifndef _INT32_T_DECLARED
4490792Sgshapirotypedef	__int32_t		int32_t;
4538032Speter#define	_INT32_T_DECLARED
4638032Speter#endif
4738032Speter
4838032Speter#ifndef _INT64_T_DECLARED
4938032Spetertypedef	__int64_t		int64_t;
5038032Speter#define	_INT64_T_DECLARED
5138032Speter#endif
5290792Sgshapiro
5390792Sgshapiro#ifndef _UINT8_T_DECLARED
5438032Spetertypedef	__uint8_t		uint8_t;
5538032Speter#define	_UINT8_T_DECLARED
5638032Speter#endif
5738032Speter
5838032Speter#ifndef _UINT16_T_DECLARED
5938032Spetertypedef	__uint16_t		uint16_t;
6038032Speter#define	_UINT16_T_DECLARED
6190792Sgshapiro#endif
6238032Speter
6338032Speter#ifndef _UINT32_T_DECLARED
6438032Spetertypedef	__uint32_t		uint32_t;
6564562Sgshapiro#define	_UINT32_T_DECLARED
6638032Speter#endif
6738032Speter
6890792Sgshapiro#ifndef _UINT64_T_DECLARED
6938032Spetertypedef	__uint64_t		uint64_t;
7038032Speter#define	_UINT64_T_DECLARED
7138032Speter#endif
7238032Speter
7338032Speter#ifndef _INTPTR_T_DECLARED
7438032Spetertypedef	__intptr_t		intptr_t;
7590792Sgshapiro#define	_INTPTR_T_DECLARED
7638032Speter#endif
7790792Sgshapiro#ifndef _UINTPTR_T_DECLARED
7838032Spetertypedef	__uintptr_t		uintptr_t;
7964562Sgshapiro#define	_UINTPTR_T_DECLARED
8038032Speter#endif
8138032Speter
8238032Speter#endif /* !_SYS__STDINT_H_ */
8338032Speter