diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-06-19 14:12:30 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-06-19 21:12:41 +0000 |
commit | 234d8eacec8807924945df55821b79f90e371c65 (patch) | |
tree | 786c3508c939f3d0358f9b4c1842a0f2285bf808 /ui/commandline.h | |
parent | 85c805d60e752a6cd376c97a269596fdd7f15002 (diff) | |
download | wireshark-234d8eacec8807924945df55821b79f90e371c65.tar.gz |
Pass the info strings directly to commandline_early_options().
Just pass them directly as arguments, don't stuff them into a structure.
Change-Id: Iac84226f54898bc953011bca64795e9049762905
Reviewed-on: https://code.wireshark.org/review/16022
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/commandline.h')
-rw-r--r-- | ui/commandline.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ui/commandline.h b/ui/commandline.h index 0953f126d2..6f79bfc0e5 100644 --- a/ui/commandline.h +++ b/ui/commandline.h @@ -29,13 +29,8 @@ extern "C" { extern void commandline_print_usage(gboolean for_help_option); -typedef struct commandline_capture_param_info -{ - GString *comp_info_str; - GString *runtime_info_str; -} commandline_capture_param_info_t; - -extern void commandline_early_options(int argc, char *argv[], commandline_capture_param_info_t* param_info); +extern void commandline_early_options(int argc, char *argv[], + GString *comp_info_str, GString *runtime_info_str); /* Command-line options that don't have direct API calls to handle the data */ typedef struct commandline_param_info |