gs_create_elem --> gs_create_list. Prototypes in one file, and struct in an other.