OSDN Git Service

freedreno: 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)
commit9a1470fb410bbc84045929b1490366504c33bb59
tree1b6f8309af24a444761cb214fe208cf2f218d890
parent3441a18c3ae0cc7dbb8dc3d1bea720eef078e96c
freedreno: 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
freedreno-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>
freedreno/freedreno_bo.c
freedreno/freedreno_device.c
freedreno/freedreno_pipe.c
freedreno/freedreno_ringbuffer.c