gbm: add missing comma between strings
[mesa.git] / src / gbm / gbm-symbols-check
1 #!/bin/sh
2 set -eu
3
4 LIB=${1-.libs/libgbm.so}
5
6 if ! [ -f "$LIB" ]
7 then
8 exit 1
9 fi
10
11 FUNCS=$($NM -D --defined-only $LIB | grep -o "T .*" | cut -c 3- | while read func; do
12 ( grep -q "^$func$" || echo $func ) <<EOF
13 gbm_device_get_fd
14 gbm_device_get_backend_name
15 gbm_device_is_format_supported
16 gbm_device_destroy
17 gbm_device_get_format_modifier_plane_count
18 gbm_create_device
19 gbm_bo_create
20 gbm_bo_create_with_modifiers
21 gbm_bo_import
22 gbm_bo_map
23 gbm_bo_unmap
24 gbm_bo_get_width
25 gbm_bo_get_height
26 gbm_bo_get_stride
27 gbm_bo_get_stride_for_plane
28 gbm_bo_get_format
29 gbm_bo_get_bpp
30 gbm_bo_get_offset
31 gbm_bo_get_device
32 gbm_bo_get_handle
33 gbm_bo_get_fd
34 gbm_bo_get_plane_count
35 gbm_bo_get_handle_for_plane
36 gbm_bo_get_modifier
37 gbm_bo_write
38 gbm_bo_set_user_data
39 gbm_bo_get_user_data
40 gbm_bo_destroy
41 gbm_format_get_name
42 gbm_surface_create
43 gbm_surface_create_with_modifiers
44 gbm_surface_lock_front_buffer
45 gbm_surface_release_buffer
46 gbm_surface_has_free_buffers
47 gbm_surface_destroy
48 _fini
49 _init
50 EOF
51 done)
52
53 test ! -n "$FUNCS" || echo $FUNCS
54 test ! -n "$FUNCS"