OSDN Git Service

intel: annotate public functions
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 12 Sep 2018 20:09:08 +0000 (13:09 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 20 Sep 2018 05:46:44 +0000 (22:46 -0700)
commit36bb0ea47b71d220b31e55717228032fb69b4dee
treeb9047ac54a2bdb73330df3f76207bb2d6e0d4269
parenta9463bdb01b6eff2f6ec58695bdbe188ca7e8497
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>
intel/intel_bufmgr.c
intel/intel_bufmgr_fake.c
intel/intel_bufmgr_gem.c
intel/intel_decode.c
libdrm_macros.h