diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-03-11 17:56:24 +0100 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-03-31 22:23:18 -0500 |
commit | bb65f5048ee34bd6a81288382ef0a608ccfcd914 (patch) | |
tree | 2186c606a559fb215dd54962410871002a3af391 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 016f8cf0d87bb2bda15ccb8708748a013c27423f (diff) |
powerpc: don't export static symbol
The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@r@
type T;
identifier f;
@@
static T f (...) { ... }
@@
identifier r.f;
declarer name EXPORT_SYMBOL;
@@
-EXPORT_SYMBOL(f);
// </smpl>
Furthermore, the function is never used, so its definition is dropped as
well.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions