diff.h: remove extern from function declaration