mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 14:50:11 +01:00
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>
|
||
|---|---|---|
| .. | ||
| Android.mk | ||
| api.c | ||
| dumb.c | ||
| exynos.c | ||
| intel.c | ||
| internal.h | ||
| kms-symbol-check | ||
| libkms.h | ||
| libkms.pc.in | ||
| linux.c | ||
| Makefile.am | ||
| Makefile.sources | ||
| meson.build | ||
| nouveau.c | ||
| radeon.c | ||
| vmwgfx.c | ||