OSDN Git Service

etnaviv: annotate public functions
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 13 Sep 2018 22:49:18 +0000 (15:49 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 20 Sep 2018 05:46:45 +0000 (22:46 -0700)
commit3441a18c3ae0cc7dbb8dc3d1bea720eef078e96c
tree6a4c5847ced89694135decc9c9d3b1ce86b3f1d5
parent26f9ce50e1353861e4c91f22ade5033072f4058e
etnaviv: annotate public functions

while read sym; do
read f func line _ <<<$(cscope -d -L -1 $sym)
if [ ! -z "$f" ]; then
sed -i "${line}s/^/drm_public /" $f
fi
done < /tmp/a.txt

In which /tmp/a.txt contains the public symbols from
etnaviv-symbol-check. The idea here will be to switch the default
visibility to hidden so we don't export symbols we shouldn't.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
etnaviv/etnaviv_bo.c
etnaviv/etnaviv_cmd_stream.c
etnaviv/etnaviv_device.c
etnaviv/etnaviv_gpu.c
etnaviv/etnaviv_perfmon.c
etnaviv/etnaviv_pipe.c