Has anyone ever actually written a working player walk routine in lite C where the character doesn't fall through the floor, float up helplessly or pass through walls?
Nah. We've always just called these features.

In all seriousness, you're missing two brackets: one at the beginning of the function definition, and the other at the end.

EDIT: Also I suggest that you change that "while(1)" condition to a "while(my)" condition so that your game doesn't crash if/when the entity is removed from the level.
EDIT2: Oh, sorry. You do have the bracket at the end. It's a little hard to tell without any indentations. In the future, could you place any code you have written into some [code] tags?