mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 04:40:09 +01:00
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
In which /tmp/a.txt contains the public symbols from
omap-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>
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
|
||
|---|---|---|
| .. | ||
| Android.mk | ||
| libdrm_omap.pc.in | ||
| Makefile.am | ||
| meson.build | ||
| omap-symbol-check | ||
| omap_drm.c | ||
| omap_drm.h | ||
| omap_drmif.h | ||