reldep to C migration