opl: Fix compile errors.
I think these were introduced when functions in the file were made static, eg. "static declaration of 'OPL3_EnvelopeGenOff' follows non-static declaration" Make function prototypes static where appropriate.
This commit is contained in:
parent
a0ef4eda48
commit
e3954613bd
1 changed files with 6 additions and 6 deletions
12
opl/opl3.c
12
opl/opl3.c
|
|
@ -388,11 +388,11 @@ static const envelope_sinfunc envelope_sin[8] = {
|
|||
OPL3_EnvelopeCalcSin7
|
||||
};
|
||||
|
||||
void OPL3_EnvelopeGenOff(opl3_slot *slot);
|
||||
void OPL3_EnvelopeGenAttack(opl3_slot *slot);
|
||||
void OPL3_EnvelopeGenDecay(opl3_slot *slot);
|
||||
void OPL3_EnvelopeGenSustain(opl3_slot *slot);
|
||||
void OPL3_EnvelopeGenRelease(opl3_slot *slot);
|
||||
static void OPL3_EnvelopeGenOff(opl3_slot *slot);
|
||||
static void OPL3_EnvelopeGenAttack(opl3_slot *slot);
|
||||
static void OPL3_EnvelopeGenDecay(opl3_slot *slot);
|
||||
static void OPL3_EnvelopeGenSustain(opl3_slot *slot);
|
||||
static void OPL3_EnvelopeGenRelease(opl3_slot *slot);
|
||||
|
||||
envelope_genfunc envelope_gen[5] = {
|
||||
OPL3_EnvelopeGenOff,
|
||||
|
|
@ -703,7 +703,7 @@ static void OPL3_SlotCalcFB(opl3_slot *slot)
|
|||
// Channel
|
||||
//
|
||||
|
||||
void OPL3_ChannelSetupAlg(opl3_channel *channel);
|
||||
static void OPL3_ChannelSetupAlg(opl3_channel *channel);
|
||||
|
||||
static void OPL3_ChannelUpdateRhythm(opl3_chip *chip, Bit8u data)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue