Solved warnings for common.c