summaryrefslogtreecommitdiff
path: root/xf86drmSL.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2018-09-13 14:57:13 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2018-09-19 22:46:45 -0700
commite15e3a65b80d1da5407bd46b4b0d514e621badd6 (patch)
tree97f7a5f86c42a9249f1c10ba93b85e8a2390f6f7 /xf86drmSL.c
parentd7320bfcddc596f23fa2b7166e447a0747139199 (diff)
downloaddrm-e15e3a65b80d1da5407bd46b4b0d514e621badd6.tar.gz
amdgpu: annotate public functions
This was done with: nm --dynamic --defined-only build/amdgpu/libdrm_amdgpu.so | \ grep amdgpu_ | \ cut -d' ' -f3 > /tmp/a.txt while read sym; do read f func line _ <<<$(cscope -d -L -1 $sym) if [ ! -z "$f" ]; then line=$((line-1)) sed -i "${line}s/^/drm_public /" $f fi done < /tmp/a.txt Then the alignment of function arguments were manually fixed all over. 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> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'xf86drmSL.c')
0 files changed, 0 insertions, 0 deletions