Error expected ',' or ';' before 'static'

Good night, I'm having this problem when compiling appears this error. Will be the IDE

#include <avr/interrupt.h>
#include <avr/io.h>
#include <stdlib.h>
#include <avr/pgmspace.h>
#include "dds_waveforms.h"
#include "scale16.h"

#define clear_bit(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#define set_bit(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))

#define SAMPLE_RATE 24000UL
#define NUM_VOICES 4

/* Init functions, defined at the bottom of the file */
static inline void setup_pwm_audio_timer(void); here (expected ',' or ';' before 'static')
static inline void setup_sample_timer(void);

struct DDS {
uint16_t increment;
uint16_t accumulator;
const int8_t* sample; /* pointer to beginning of sample in memory */
};
volatile struct DDS voices[NUM_VOICES];

Please do this:

  • When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button..
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the error between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link that will allow you to make the attachment.

The error is probably at the end of the included file "scale16.h"

[Arduino: 1.8.11 (Windows 7), Placa:"Arduino Uno"

dds:21:1: error: expected ',' or ';' before 'static'

static inline void setup_pwm_audio_timer(void);

^~~~~~

exit status 1
expected ',' or ';' before 'static'

"
]
[#include <avr/interrupt.h>
#include <avr/io.h>
#include <stdlib.h>
#include <avr/pgmspace.h>
#include "dds_waveforms.h"
#include "scale16.h"

#define clear_bit(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#define set_bit(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))

#define SAMPLE_RATE 24000UL
#define NUM_VOICES 4

/* Init functions, defined at the bottom of the file */
static inline void setup_pwm_audio_timer(void);
static inline void setup_sample_timer(void);

struct DDS {
uint16_t increment;
uint16_t accumulator;
const int8_t* sample; /* pointer to beginning of sample in memory */
};]

The error is probably at the end of the included file "scale16.h"