Move extern C in musyx.h up

Former-commit-id: 47201d2495
This commit is contained in:
Phillip Stephens 2022-08-05 12:46:33 -07:00
parent ba5057c084
commit 70ea57613e
1 changed files with 4 additions and 4 deletions

View File

@ -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);