1 #!/bin/bash 2 3 FUNCS=$(nm -D --defined-only ${1-.libs/libwayland-egl.so} | grep -o "T .*" | cut -c 3- | while read func; do 4 ( grep -q "^$func$" || echo $func ) <<EOF 5 wl_egl_window_resize 6 wl_egl_window_create 7 wl_egl_window_destroy 8 wl_egl_window_get_attached_size 9 _fini 10 _init 11 EOF 12 done) 13 14 test ! -n "$FUNCS" || echo $FUNCS 15 test ! -n "$FUNCS" 16 17