aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSergei Trofimovich <[email protected]>2013-09-13 14:51:40 -0700
committerMichal Marek <[email protected]>2013-10-23 16:36:57 +0200
commit80970472179a45609c0b11b80619bc8c32b15f77 (patch)
tree0c24f524e44dcdf8c7abcdbb9edb515d07e923c4 /tools/perf/util/scripting-engines/trace-event-python.c
parent272b98c6455f00884f0350f775c5342358ebb73f (diff)
Makefile: enable -Werror=implicit-int and -Werror=strict-prototypes by default
The common error found in forward-ported/backported patches is missing headers. One recent example (files and function names are mangled): void foo(){} EXPORT_SYMBOL(foo); gave only warning foo.c:12345678:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] void foo(){} ^ foo.c:12345679:5: warning: data definition has no type or storage class [enabled by default] EXPORT_SYMBOL(foo); foo.c:12345679:5: warning: type defaults to 'int' in declaration of 'EXORT_SYMBOL' [-Werror=implicit-int] Now it's a fatal error. Tested on x86_64 allyesconfig. [[email protected]: fix typos in comments] Signed-off-by: Sergei Trofimovich <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Michal Marek <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions