diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2018-09-12 13:09:08 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2018-09-19 22:46:44 -0700 |
commit | 36bb0ea47b71d220b31e55717228032fb69b4dee (patch) | |
tree | b9047ac54a2bdb73330df3f76207bb2d6e0d4269 /libkms | |
parent | a9463bdb01b6eff2f6ec58695bdbe188ca7e8497 (diff) | |
download | libdrm-36bb0ea47b71d220b31e55717228032fb69b4dee.tar.gz libdrm-36bb0ea47b71d220b31e55717228032fb69b4dee.tar.bz2 libdrm-36bb0ea47b71d220b31e55717228032fb69b4dee.zip |
intel: annotate public functions
This was done with:
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 some corner cases were manually fixed. "a.txt" above contains the
symbols collected from intel/intel-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>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Diffstat (limited to 'libkms')
0 files changed, 0 insertions, 0 deletions