aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-04-13 23:19:11 -0700
committerChris Robinson <[email protected]>2020-04-13 23:27:56 -0700
commit02d7fbfa0c3a24457b199688f9e6672ea253be14 (patch)
tree70805b41f126c3a465d66745a4e7e30f3394e10d /alc/alu.h
parent1d8ac4d61f5717c02e253a741175b037db97de4e (diff)
Use standard attribute declarations
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h3
1 files changed, 1 insertions, 2 deletions
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<float,MAX_AMBI_CHANNELS> 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;