X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=warning.c;h=a5880ce0227dd53ed71731d182eba4bb02793203;hb=f4ccc7ee5551bda618bc55fa511ba43078826cf9;hp=5dd407ce78eb578d97ba7d78f7a9a5c399d1a02f;hpb=45002a9bc0d85c57215aabd153e8a95825ece7d2;p=cparser diff --git a/warning.c b/warning.c index 5dd407c..a5880ce 100644 --- a/warning.c +++ b/warning.c @@ -36,6 +36,7 @@ warning_t warning = { .missing_declarations = false, .missing_prototypes = false, .multichar = true, + .nested_externs = false, .nonnull = true, .redundant_decls = true, .return_type = true, @@ -123,6 +124,7 @@ void set_warning_opt(const char *const opt) OPT("missing-declarations", missing_declarations); OPT("missing-prototypes", missing_prototypes); OPT("multichar", multichar); + OPT("nested-externs", nested_externs); OPT("nonnull", nonnull); OPT("redundant-decls", redundant_decls); OPT("return-type", return_type);