diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2018-09-13 13:00:55 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2018-09-19 22:46:45 -0700 |
commit | 6229895cc5c99070db17c7e5413e6bf33fc7f618 (patch) | |
tree | 9abf071b4e579aedda35af7487348551d927dc22 /amdgpu/amdgpu_vm.c | |
parent | 36bb0ea47b71d220b31e55717228032fb69b4dee (diff) | |
download | external_libdrm-6229895cc5c99070db17c7e5413e6bf33fc7f618.tar.gz external_libdrm-6229895cc5c99070db17c7e5413e6bf33fc7f618.tar.bz2 external_libdrm-6229895cc5c99070db17c7e5413e6bf33fc7f618.zip |
libkms: annotate public functions
This was done with:
nm --dynamic --defined-only build/libkms/libkms.so | \
grep kms_ | \
cut -d' ' -f3 > /tmp/a.txt
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
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>
Diffstat (limited to 'amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions