extern const char *Version; /* version.c for each program */
/*
* ntpOptionProcess() was a clone of libopts' optionProcess which
* overrode the --version output, appending detail from version.c
* which was not available at Autogen time. This is now done via
* AutoOpts' version-proc = override in copyright.def, so this
* routine is a straightforward wrapper of optionProcess().
*/
int
ntpOptionProcess(
tOptions * pOpts,
int argc,
char ** argv
)
{
return optionProcess(pOpts, argc, argv);
}
/*
* ntpOptionPrintVersion() replaces the stock optionPrintVersion() via
* version-proc = ntpOptionPrintVersion; in copyright.def. It differs
* from the stock function by displaying the complete version string,
* including compile time which was unknown when Autogen ran.
*
* Like optionPrintVersion() this function must exit(0) rather than
* return.
*/
void
ntpOptionPrintVersion(
tOptions * pOpts,
tOptDesc * pOD
)
{
UNUSED_ARG(pOpts);
UNUSED_ARG(pOD);