d1db9dd200
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 tegra-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> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
libdrm_tegra.pc.in | ||
meson.build | ||
private.h | ||
tegra-symbol-check | ||
tegra.c | ||
tegra.h |