1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
struct m2string { char *contents; int HIGH; }; typedef struct m2string STRING; static inline void inline foo (STRING a) __attribute__ ((always_inline)); static void foo (STRING f) { **((char **)&f) = 'g'; } void init (STRING a) { foo(a); }