(input_common.c) small cleanup