Update func.c

更新到sourceidFunc()函数。
Merge pull request #20 from amy-lj/amy-lj&func

Update func.c
Merge pull request #7 from HuiLi/master

合并更新