|
From: Nicholas N. <nj...@cs...> - 2006-10-15 22:34:05
|
On Sun, 15 Oct 2006, Julian Seward wrote: >> Hmm, there isn't any reason why a tool should call err_missing_prog or >> err_config_error... I think those two should stay in m_main.c. I see the >> similarity between the three functions, perhaps that should be factored out >> into another function. > > Hmm, that's a good point. Hadn't noticed that before. Alternatively > err_missing_prog and err_config_error could be moved from the tool .h > to the core .h -- what say you to that? That's better because it's not tool-visible. But they're still not used outside of m_main.c, so there's no need to make them visible outside that module. Nick |