gbm: Use unsigned for BO offset getter
[mesa.git] / src / gbm / gbm-symbols-check
1 #!/bin/sh
2
3 FUNCS=$(nm -D --defined-only ${1-.libs/libgbm.so} | grep -o "T .*" | cut -c 3- | while read func; do
4 ( grep -q "^$func$" || echo $func ) <<EOF
5 gbm_device_get_fd
6 gbm_device_get_backend_name
7 gbm_device_is_format_supported
8 gbm_device_destroy
9 gbm_create_device
10 gbm_bo_create
11 gbm_bo_create_with_modifiers
12 gbm_bo_import
13 gbm_bo_map
14 gbm_bo_unmap
15 gbm_bo_get_width
16 gbm_bo_get_height
17 gbm_bo_get_stride
18 gbm_bo_get_stride_for_plane
19 gbm_bo_get_format
20 gbm_bo_get_offset
21 gbm_bo_get_device
22 gbm_bo_get_handle
23 gbm_bo_get_fd
24 gbm_bo_get_plane_count
25 gbm_bo_get_handle_for_plane
26 gbm_bo_get_modifier
27 gbm_bo_write
28 gbm_bo_set_user_data
29 gbm_bo_get_user_data
30 gbm_bo_destroy
31 gbm_surface_create
32 gbm_surface_create_with_modifiers
33 gbm_surface_needs_lock_front_buffer
34 gbm_surface_lock_front_buffer
35 gbm_surface_release_buffer
36 gbm_surface_has_free_buffers
37 gbm_surface_destroy
38 _fini
39 _init
40 EOF
41 done)
42
43 test ! -n "$FUNCS" || echo $FUNCS
44 test ! -n "$FUNCS"