allocators: drmdumb: Remove extra semicolon after G_DECLARE_FINAL_TYPE

The `G_DECLARE_FINAL_TYPE` macro does not need to be terminated with a
semicolon and the extra semicolon breaks building e.g. libcamera with
clang because `-Wextra-semi` is used which produces the following
error in conjunction with `-Werror`:
```
gstreamer-1.0/gst/allocators/gstdrmdumb.h:61:43: error: extra ';' outside
of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
   61 |     GST, DRM_DUMB_ALLOCATOR, GstAllocator);
      |                                           ^
1 error generated.
```

Fix this by removing the extra semicolon

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6239>
This commit is contained in:
Marvin Schmidt 2024-02-28 16:51:37 +01:00
parent 3077e4d8a5
commit 1b74f039ab

View file

@ -58,7 +58,7 @@ G_BEGIN_DECLS
#define GST_TYPE_DRM_DUMB_ALLOCATOR gst_drm_dumb_allocator_get_type ()
GST_ALLOCATORS_API
G_DECLARE_FINAL_TYPE (GstDRMDumbAllocator, gst_drm_dumb_allocator,
GST, DRM_DUMB_ALLOCATOR, GstAllocator);
GST, DRM_DUMB_ALLOCATOR, GstAllocator)
GST_ALLOCATORS_API
gboolean gst_is_drm_dumb_memory (GstMemory * mem);