can anyone explain these lines to me:
int xyz( void ) { extern void abc( void ); }
a function declaration within a function definition?
Yes, your guess is correct. It's declaring the existence of the function abc(), so it may be referenced within xyz(). Note that the extern is unnecessary, as functions are extern by default.
abc()
xyz()
extern