1#!/bin/bash 2 3FUNCS=$(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 5wl_egl_window_resize 6wl_egl_window_create 7wl_egl_window_destroy 8wl_egl_window_get_attached_size 9_fini 10_init 11EOF 12done) 13 14test ! -n "$FUNCS" || echo $FUNCS 15test ! -n "$FUNCS" 16 17