typedef long unsigned int size_t;

struct S
{
  char *b;  
  size_t i;
};

#if 0
static void
foo (struct S *x, char c)
{
  x->b[x->i++] = c;
}
#endif

#if 1
static bar (unsigned char *buf, int i, unsigned char c)
{
  buf[i] = c;
}
#endif
