u_gralloc: Remove inline modifiers from the functions
authorRoman Stratiienko <r.stratiienko@gmail.com>
Fri, 15 Sep 2023 22:26:33 +0000 (01:26 +0300)
committerMarge Bot <emma+marge@anholt.net>
Thu, 21 Sep 2023 10:50:34 +0000 (10:50 +0000)
Suggested-by: Chia-I Wu <olvaffe@gmail.com>
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25256>

src/util/u_gralloc/u_gralloc.c

index 0adc58e..2452df6 100644 (file)
@@ -100,7 +100,7 @@ u_gralloc_destroy(struct u_gralloc **gralloc NONNULL)
    *gralloc = NULL;
 }
 
-inline int
+int
 u_gralloc_get_buffer_basic_info(struct u_gralloc *gralloc NONNULL,
                                 struct u_gralloc_buffer_handle *hnd NONNULL,
                                 struct u_gralloc_buffer_basic_info *out
@@ -119,7 +119,7 @@ u_gralloc_get_buffer_basic_info(struct u_gralloc *gralloc NONNULL,
    return 0;
 }
 
-inline int
+int
 u_gralloc_get_buffer_color_info(struct u_gralloc *gralloc NONNULL,
                                 struct u_gralloc_buffer_handle *hnd NONNULL,
                                 struct u_gralloc_buffer_color_info *out
@@ -141,7 +141,7 @@ u_gralloc_get_buffer_color_info(struct u_gralloc *gralloc NONNULL,
    return 0;
 }
 
-inline int
+int
 u_gralloc_get_front_rendering_usage(struct u_gralloc *gralloc NONNULL,
                                     uint64_t *out_usage NONNULL)
 {