diff options
author | cy <cy@FreeBSD.org> | 2015-07-05 15:42:16 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2015-07-05 15:42:16 +0000 |
commit | 4798ffa9e1d37998fdd0d94d9c2ad9cb3fb5d110 (patch) | |
tree | fb96356e3ef85aaa8d1f5939a9decd315a7ca596 /contrib/ntp/sntp/libopts/version.c | |
parent | 8920bf0c56d10d9413aa5f7595886836b12c974f (diff) | |
parent | 5ef283fde5be3bb35376b46b0d8cdc0e6dff0ad4 (diff) | |
download | FreeBSD-src-4798ffa9e1d37998fdd0d94d9c2ad9cb3fb5d110.zip FreeBSD-src-4798ffa9e1d37998fdd0d94d9c2ad9cb3fb5d110.tar.gz |
MFV ntp-4.2.8p3 (r284990).
Approved by: roberto, delphij
Security: VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0
Security: http://bugs.ntp.org/show_bug.cgi?id=2853
Security: https://www.kb.cert.org/vuls/id/668167
Security: http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
Diffstat (limited to 'contrib/ntp/sntp/libopts/version.c')
-rw-r--r-- | contrib/ntp/sntp/libopts/version.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/ntp/sntp/libopts/version.c b/contrib/ntp/sntp/libopts/version.c index 1516c14..8a8de75 100644 --- a/contrib/ntp/sntp/libopts/version.c +++ b/contrib/ntp/sntp/libopts/version.c @@ -10,7 +10,7 @@ /* * This file is part of AutoOpts, a companion to AutoGen. * AutoOpts is free software. - * AutoOpts is Copyright (C) 1992-2014 by Bruce Korb - all rights reserved + * AutoOpts is Copyright (C) 1992-2015 by Bruce Korb - all rights reserved * * AutoOpts is available under any one of two licenses. The license * in use must be one of these two and the choice is under the control @@ -32,13 +32,13 @@ /*=export_func optionVersion * * what: return the compiled AutoOpts version number - * ret_type: char const* + * ret_type: char const * * ret_desc: the version string in constant memory * doc: * Returns the full version string compiled into the library. * The returned string cannot be modified. =*/ -char const* +char const * optionVersion(void) { static char const ver[] = OPTIONS_DOTTED_VERSION; @@ -181,8 +181,8 @@ print_ver(tOptions * opts, tOptDesc * od, FILE * fp, bool call_exit) /*=export_func optionPrintVersion * * what: Print the program version - * arg: + tOptions* + opts + program options descriptor + - * arg: + tOptDesc* + od + the descriptor for this arg + + * arg: + tOptions * + opts + program options descriptor + + * arg: + tOptDesc * + od + the descriptor for this arg + * * doc: * This routine will print the version to stdout. @@ -196,8 +196,8 @@ optionPrintVersion(tOptions * opts, tOptDesc * od) /*=export_func optionPrintVersionAndReturn * * what: Print the program version - * arg: + tOptions* + opts + program options descriptor + - * arg: + tOptDesc* + od + the descriptor for this arg + + * arg: + tOptions * + opts + program options descriptor + + * arg: + tOptDesc * + od + the descriptor for this arg + * * doc: * This routine will print the version to stdout and return @@ -215,8 +215,8 @@ optionPrintVersionAndReturn(tOptions * opts, tOptDesc * od) * private: * * what: Print the program version to stderr - * arg: + tOptions* + opts + program options descriptor + - * arg: + tOptDesc* + od + the descriptor for this arg + + * arg: + tOptions * + opts + program options descriptor + + * arg: + tOptDesc * + od + the descriptor for this arg + * * doc: * This routine will print the version to stderr. |