Deleted Added
full compact
monetary.h (102227) monetary.h (103667)
1/*-
2 * Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/include/monetary.h 102227 2002-08-21 16:20:02Z mike $
26 * $FreeBSD: head/include/monetary.h 103667 2002-09-20 08:22:48Z mike $
27 */
28
29#ifndef _MONETARY_H_
30#define _MONETARY_H_
31
32#include <sys/cdefs.h>
33#include <sys/_types.h>
34
35#ifndef _SIZE_T_DECLARED
36typedef __size_t size_t;
37#define _SIZE_T_DECLARED
38#endif
39
27 */
28
29#ifndef _MONETARY_H_
30#define _MONETARY_H_
31
32#include <sys/cdefs.h>
33#include <sys/_types.h>
34
35#ifndef _SIZE_T_DECLARED
36typedef __size_t size_t;
37#define _SIZE_T_DECLARED
38#endif
39
40#ifndef _SIZE_T_DECLARED
40#ifndef _SSIZE_T_DECLARED
41typedef __ssize_t ssize_t;
41typedef __ssize_t ssize_t;
42#define _SIZE_T_DECLARED
42#define _SSIZE_T_DECLARED
43#endif
44
45__BEGIN_DECLS
43#endif
44
45__BEGIN_DECLS
46ssize_t strfmon(char *, size_t, const char *, ...);
46ssize_t strfmon(char * __restrict, size_t, const char * __restrict, ...);
47__END_DECLS
48
49#endif /* !_MONETARY_H_ */
47__END_DECLS
48
49#endif /* !_MONETARY_H_ */