recv.c: use c99 scope