diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-05-30 13:29:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-31 04:00:36 +0300 |
commit | 53bd63afbd659017d20dfb7ac3a53ceb8cbb338a (patch) | |
tree | 77c4c2992acaba4848da72bf915f250cd8a7ed01 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4300c7e7fe152be96b41b2135e3ace9a1e8db308 (diff) | |
download | linux-53bd63afbd659017d20dfb7ac3a53ceb8cbb338a.tar.xz |
net: dsa: sja1105: suppress -Wmissing-prototypes in sja1105_static_config.c
Newer compilers complain with W=1 builds that there are non-static
functions defined in sja1105_static_config.c that don't have a
prototype, because their prototype is defined in sja1105.h which this
translation unit does not include.
I don't entirely understand what is the point of these warnings, since
in principle there's nothing wrong with that. But let's move the
prototypes to a header file that _is_ included by
sja1105_static_config.c, since that will make these warnings go away.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions