From 02d7fbfa0c3a24457b199688f9e6672ea253be14 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 13 Apr 2020 23:19:11 -0700 Subject: Use standard attribute declarations --- alc/alu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'alc/alu.h') diff --git a/alc/alu.h b/alc/alu.h index 7b2ac627..b78a3222 100644 --- a/alc/alu.h +++ b/alc/alu.h @@ -9,7 +9,6 @@ #include "alcmain.h" #include "alspan.h" -#include "logging.h" struct ALbufferlistitem; struct ALeffectslot; @@ -152,7 +151,7 @@ inline std::array GetAmbiIdentityRow(size_t i) noexcept void aluMixData(ALCdevice *device, void *OutBuffer, const ALuint NumSamples, const size_t FrameStep); /* Caller must lock the device state, and the mixer must not be running. */ -void aluHandleDisconnect(ALCdevice *device, const char *msg, ...) DECL_FORMAT(printf, 2, 3); +[[gnu::format(printf,2,3)]] void aluHandleDisconnect(ALCdevice *device, const char *msg, ...); extern const float ConeScale; extern const float ZScale; -- cgit v1.2.3