Move extern C in musyx.h up

This commit is contained in:
Phillip Stephens 2022-08-05 12:46:33 -07:00
parent 79eff1f8b5
commit 47201d2495
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);