-static void demangle_it PARAMS ((char *));
-static void usage PARAMS ((FILE *, int)) ATTRIBUTE_NORETURN;
-static void print_demangler_list PARAMS ((FILE *));
+static const struct option long_options[] =
+{
+ {"strip-underscore", no_argument, NULL, '_'},
+ {"format", required_argument, NULL, 's'},
+ {"help", no_argument, NULL, 'h'},
+ {"no-params", no_argument, NULL, 'p'},
+ {"no-strip-underscores", no_argument, NULL, 'n'},
+ {"no-verbose", no_argument, NULL, 'i'},
+ {"types", no_argument, NULL, 't'},
+ {"version", no_argument, NULL, 'v'},
+ {NULL, no_argument, NULL, 0}
+};