xref: /freebsd/sys/amd64/include/limits.h (revision 51369649b03ece2aed3eb61b0c8214b9aa5b2fa2)
146280ae7SWarner Losh /*-
2*51369649SPedro F. Giffuni  * SPDX-License-Identifier: BSD-3-Clause
3*51369649SPedro F. Giffuni  *
4ea9ea04cSDavid E. O'Brien  * Copyright (c) 1988, 1993
5ea9ea04cSDavid E. O'Brien  *	The Regents of the University of California.  All rights reserved.
6ea9ea04cSDavid E. O'Brien  *
7ea9ea04cSDavid E. O'Brien  * Redistribution and use in source and binary forms, with or without
8ea9ea04cSDavid E. O'Brien  * modification, are permitted provided that the following conditions
9ea9ea04cSDavid E. O'Brien  * are met:
10ea9ea04cSDavid E. O'Brien  * 1. Redistributions of source code must retain the above copyright
11ea9ea04cSDavid E. O'Brien  *    notice, this list of conditions and the following disclaimer.
12ea9ea04cSDavid E. O'Brien  * 2. Redistributions in binary form must reproduce the above copyright
13ea9ea04cSDavid E. O'Brien  *    notice, this list of conditions and the following disclaimer in the
14ea9ea04cSDavid E. O'Brien  *    documentation and/or other materials provided with the distribution.
15fbbd9655SWarner Losh  * 3. Neither the name of the University nor the names of its contributors
16ea9ea04cSDavid E. O'Brien  *    may be used to endorse or promote products derived from this software
17ea9ea04cSDavid E. O'Brien  *    without specific prior written permission.
18ea9ea04cSDavid E. O'Brien  *
19ea9ea04cSDavid E. O'Brien  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20ea9ea04cSDavid E. O'Brien  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21ea9ea04cSDavid E. O'Brien  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22ea9ea04cSDavid E. O'Brien  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23ea9ea04cSDavid E. O'Brien  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24ea9ea04cSDavid E. O'Brien  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25ea9ea04cSDavid E. O'Brien  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26ea9ea04cSDavid E. O'Brien  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27ea9ea04cSDavid E. O'Brien  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28ea9ea04cSDavid E. O'Brien  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29ea9ea04cSDavid E. O'Brien  * SUCH DAMAGE.
30ea9ea04cSDavid E. O'Brien  *
31ea9ea04cSDavid E. O'Brien  *	@(#)limits.h	8.3 (Berkeley) 1/4/94
32ea9ea04cSDavid E. O'Brien  * $FreeBSD$
33ea9ea04cSDavid E. O'Brien  */
34ea9ea04cSDavid E. O'Brien 
35ea9ea04cSDavid E. O'Brien #ifndef _MACHINE_LIMITS_H_
36ea9ea04cSDavid E. O'Brien #define	_MACHINE_LIMITS_H_
37ea9ea04cSDavid E. O'Brien 
38a5f50ef9SJoerg Wunsch #include <sys/cdefs.h>
39a5f50ef9SJoerg Wunsch 
40a5f50ef9SJoerg Wunsch #ifdef __CC_SUPPORTS_WARNING
41104a9b7eSAlexander Kabaev #warning "machine/limits.h is deprecated.  Include sys/limits.h instead."
42ea9ea04cSDavid E. O'Brien #endif
43ea9ea04cSDavid E. O'Brien 
44104a9b7eSAlexander Kabaev #include <sys/limits.h>
45104a9b7eSAlexander Kabaev 
46ea9ea04cSDavid E. O'Brien #endif /* !_MACHINE_LIMITS_H_ */
47