int main(int argc, const char *argv[])
{
- bool silent_mode = false;
+ static bool silent_mode = false;
int ret = 0;
poptContext pc;
/*
- int show_all_parameters = 0;
- char *new_local_machine = NULL;
+ static int show_all_parameters = 0;
+ static char *new_local_machine = NULL;
*/
- const char *section_name = NULL;
- char *parameter_name = NULL;
- const char *cname = NULL;
- const char *caddr = NULL;
- bool show_defaults = false;
+ static const char *section_name = NULL;
+ static char *parameter_name = NULL;
+ static const char *cname;
+ static const char *caddr;
+ static bool show_defaults = false;
struct loadparm_context *lp_ctx;
struct poptOption long_options[] = {