1248693Sgleb/*
2248693Sgleb * $FreeBSD$
3248693Sgleb */
4248693Sgleb
5248693Sgleb#include <sys/types.h>
6248693Sgleb#include <sys/stdint.h>
7248693Sgleb
8248693Sglebstruct s1 {
9248693Sgleb	int32_t		f1_int;
10248693Sgleb	char		*f2_str;
11248693Sgleb	short		f3_short;
12248693Sgleb	uint64_t	f4_uint64;
13248693Sgleb	intmax_t	f5_intmax;
14248693Sgleb	void*		f6_ptr;
15248693Sgleb};
16248693Sgleb
17248693Sglebstruct s2 {
18248693Sgleb	char		f1_buf[30];
19248693Sgleb	struct s1	*f2_s1;
20248693Sgleb};
21248693Sgleb
22248693Sglebstruct s3 {
23248693Sgleb	struct s1	f1_s1;
24248693Sgleb	uint32_t	f2_int32;
25248693Sgleb};
26248693Sgleb
27248693Sglebint	func1(int a, int b);
28248693Sglebint	func2(int64_t a, uint64_t b);
29248693Sglebvoid	func3(struct s1 *s);
30248693Sglebvoid	func4(struct s1 s);
31248693Sglebint	func5(int a, void *b, struct s2 *s);
32248693Sglebint	func6(char a, struct s3 *s);
33248693Sgleb
34248693Sglebint
35248693Sglebfunc1(int a, int b)
36248693Sgleb{
37248693Sgleb	return (a - b);
38248693Sgleb}
39248693Sgleb
40248693Sglebint
41248693Sglebfunc2(int64_t a, uint64_t b)
42248693Sgleb{
43248693Sgleb	return (a - b);
44248693Sgleb}
45248693Sgleb
46248693Sglebvoid
47248693Sglebfunc3(struct s1 *s)
48248693Sgleb{
49248693Sgleb}
50248693Sgleb
51248693Sglebvoid
52248693Sglebfunc4(struct s1 s)
53248693Sgleb{
54248693Sgleb}
55248693Sgleb
56248693Sglebint
57248693Sglebfunc5(int a, void *b, struct s2 *s)
58248693Sgleb{
59248693Sgleb	return (0);
60248693Sgleb}
61248693Sgleb
62248693Sglebint
63248693Sglebfunc6(char a, struct s3 *s)
64248693Sgleb{
65248693Sgleb	return (0);
66248693Sgleb}
67