Two names for the same function
问题 I need two instances of the same function (not just alias). One thing that definitely works is void writedata(union chip *tempchip, unsigned char *datapos, int datanum) { blahblah } void writestring(union chip *tempchip, unsigned char *datapos, int datanum) { writedata(tempchip, datapos, datanum); } This is kind of silly, because the second just passes parameters to the first. So I tried to be "smart" and make a pointer void writedata(union chip *tempchip, unsigned char *datapos, int datanum)