From 70ea57613ec414fc172598077516ede5c743e7ec Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Fri, 5 Aug 2022 12:46:33 -0700 Subject: [PATCH] Move extern C in musyx.h up Former-commit-id: 47201d24951eab8f865d8145e180d508ddd513ae --- include/musyx/musyx.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/musyx/musyx.h b/include/musyx/musyx.h index 94fab52b..6df2be59 100644 --- a/include/musyx/musyx.h +++ b/include/musyx/musyx.h @@ -1,6 +1,10 @@ #ifndef MUSYX_H #define MUSYX_H +#ifdef __cplusplus +extern "C" { +#endif + typedef signed char s8; typedef unsigned char u8; typedef signed short s16; @@ -56,10 +60,6 @@ typedef struct SND_SEQVOLDEF { u8 volGroup; } SND_SEQVOLDEF; -#ifdef __cplusplus -extern "C" { -#endif - typedef struct SND_HOOKS { void* (*malloc)(u32 len); void (*free)(void* addr);