Skip to content
Commit a6a4e081 authored by Kirill Primak's avatar Kirill Primak 🌷 Committed by Simon Ser
Browse files

Put WL_DEPRECATED in front of the function declarations



This fixes the following clang error when using C23:

../src/wayland-server-core.h:680:41: error: 'deprecated' attribute cannot be applied to types
  680 |                      int32_t stride, uint32_t format) WL_DEPRECATED;
      |                                                       ^
../src/wayland-util.h:52:25: note: expanded from macro 'WL_DEPRECATED'
   52 | #define WL_DEPRECATED [[deprecated]]
      |                         ^

Signed-off-by: Kirill Primak's avatarKirill Primak <vyivel@eclair.cafe>
parent f6f0a3cd
Loading
Loading
Loading
Pipeline #1245387 failed with stages
in 2 minutes and 1 second
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment