1/*
2 * $FreeBSD$
3 */
4
5#include <sys/types.h>
6#include <sys/stdint.h>
7
8struct s1 {
9	int32_t		f1_int;
10	char		*f2_str;
11	short		f3_short;
12	uint64_t	f4_uint64;
13	intmax_t	f5_intmax;
14	void*		f6_ptr;
15};
16
17struct s2 {
18	char		f1_buf[30];
19	struct s1	*f2_s1;
20};
21
22struct s3 {
23	struct s1	f1_s1;
24	uint32_t	f2_int32;
25};
26
27int	func1(int a, int b);
28int	func2(int64_t a, uint64_t b);
29void	func3(struct s1 *s);
30void	func4(struct s1 s);
31int	func5(int a, void *b, struct s2 *s);
32int	func6(char a, struct s3 *s);
33
34int
35func1(int a, int b)
36{
37	return (a - b);
38}
39
40int
41func2(int64_t a, uint64_t b)
42{
43	return (a - b);
44}
45
46void
47func3(struct s1 *s)
48{
49}
50
51void
52func4(struct s1 s)
53{
54}
55
56int
57func5(int a, void *b, struct s2 *s)
58{
59	return (0);
60}
61
62int
63func6(char a, struct s3 *s)
64{
65	return (0);
66}
67