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