Which is why it's nice to lift stuff out into typedefs. It centralizes them (DRY principle) and avoids this issue.
typedef int thing_t;
...
thing_t *foo;
// code
foo = malloc(sizeof(thing_t));