xref: /freebsd/include/varargs.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1fefa0fd5SAlexander Kabaev /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3e58eb3c4SPedro F. Giffuni  *
4fefa0fd5SAlexander Kabaev  * Copyright (c) 2003 Alexander Kabaev
5fefa0fd5SAlexander Kabaev  * All rights reserved.
6fefa0fd5SAlexander Kabaev  *
7fefa0fd5SAlexander Kabaev  * Redistribution and use in source and binary forms, with or without
8fefa0fd5SAlexander Kabaev  * modification, are permitted provided that the following conditions
9fefa0fd5SAlexander Kabaev  * are met:
10fefa0fd5SAlexander Kabaev  * 1. Redistributions of source code must retain the above copyright
11fefa0fd5SAlexander Kabaev  *    notice, this list of conditions and the following disclaimer.
12fefa0fd5SAlexander Kabaev  * 2. Redistributions in binary form must reproduce the above copyright
13fefa0fd5SAlexander Kabaev  *    notice, this list of conditions and the following disclaimer in the
14fefa0fd5SAlexander Kabaev  *    documentation and/or other materials provided with the distribution.
15fefa0fd5SAlexander Kabaev  *
16fefa0fd5SAlexander Kabaev  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17fefa0fd5SAlexander Kabaev  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18fefa0fd5SAlexander Kabaev  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19fefa0fd5SAlexander Kabaev  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20fefa0fd5SAlexander Kabaev  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21fefa0fd5SAlexander Kabaev  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22fefa0fd5SAlexander Kabaev  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23fefa0fd5SAlexander Kabaev  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24fefa0fd5SAlexander Kabaev  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25fefa0fd5SAlexander Kabaev  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26fefa0fd5SAlexander Kabaev  * SUCH DAMAGE.
27fefa0fd5SAlexander Kabaev  */
28fefa0fd5SAlexander Kabaev 
29fefa0fd5SAlexander Kabaev #ifndef _VARARGS_H_
30fefa0fd5SAlexander Kabaev #define	_VARARGS_H_
31fefa0fd5SAlexander Kabaev 
32982e7bdaSWarner Losh #error "<varargs.h> is obsolete."
33fefa0fd5SAlexander Kabaev #error "Change your code to use <stdarg.h> instead."
34fefa0fd5SAlexander Kabaev 
35fefa0fd5SAlexander Kabaev #endif /* !_VARARGS_H_ */
36