@@ -138,7 +138,7 @@ extern int ibdiag_process_opts(int argc, char *const argv[], void *context,
char *optarg),
const char *usage_args,
const char *usage_examples[]);
-extern void ibdiag_show_usage();
+extern void ibdiag_show_usage(void);
extern void ibexit(const char *fn, const char *msg, ...);
/* convert counter values to a float with a unit specifier returned (using
@@ -174,7 +174,7 @@ static void read_ibdiag_config(const char *file)
}
-void ibdiag_show_usage()
+void ibdiag_show_usage(void)
{
struct option *o = long_opts;
int n;