Fix a couple problems noted by the C++ compiler.
Этот коммит содержится в:
родитель
96609aecad
Коммит
a5122e8951
21
src/locale.c
21
src/locale.c
@ -53,6 +53,11 @@
|
||||
|
||||
#include "version.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
|
||||
/* -------------------------------------------------------------------
|
||||
* usage
|
||||
@ -101,14 +106,14 @@ const char usage_longstr[] = "Usage: iperf [-s|-c host] [options]\n"
|
||||
|
||||
|
||||
#ifdef OBSOLETE /* from old iperf: no longer supported. Add some of these back someday */
|
||||
-d, --dualtest Do a bidirectional test simultaneously\n\
|
||||
-L, --listenport # port to recieve bidirectional tests back on\n\
|
||||
-I, --stdin input the data to be transmitted from stdin\n\
|
||||
-F, --fileinput <name> input the data to be transmitted from a file\n\
|
||||
-r, --tradeoff Do a bidirectional test individually\n\
|
||||
-T, --ttl # time-to-live, for multicast (default 1)\n\
|
||||
-x, --reportexclude [CDMSV] exclude C(connection) D(data) M(multicast) S(settings) V(server) reports\n\
|
||||
-y, --reportstyle C report as a Comma-Separated Values
|
||||
"-d, --dualtest Do a bidirectional test simultaneously\n"
|
||||
"-L, --listenport # port to recieve bidirectional tests back on\n"
|
||||
"-I, --stdin input the data to be transmitted from stdin\n"
|
||||
"-F, --fileinput <name> input the data to be transmitted from a file\n"
|
||||
"-r, --tradeoff Do a bidirectional test individually\n"
|
||||
"-T, --ttl # time-to-live, for multicast (default 1)\n"
|
||||
"-x, --reportexclude [CDMSV] exclude C(connection) D(data) M(multicast) S(settings) V(server) reports\n"
|
||||
"-y, --reportstyle C report as a Comma-Separated Values\n"
|
||||
#endif
|
||||
|
||||
const char version[] = "iperf version " IPERF_VERSION " (" IPERF_VERSION_DATE ")";
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user