Skip to content

Commit

Permalink
Declare proper C-prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Valérian Sibille committed Oct 22, 2024
1 parent 7b71661 commit 9f8d944
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dr_meter/include/dr_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ typedef struct dr_stats_s dr_stats_t;

dr_stats_t make_dr_stats(double dr, double peak, double rms);
void zero_dr_stats(dr_stats_t* dr_stats);
dr_stats_t make_zero_dr_stats();
dr_stats_t make_zero_dr_stats(void);
dr_stats_t make_dB_dr_stats(dr_stats_t* dr_stats);

#endif /* DR_METER_DR_STATS_H */
2 changes: 1 addition & 1 deletion dr_meter/include/sample_mean.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct sample_mean_s

typedef struct sample_mean_s sample_mean_t;

sample_mean_t make_sample_mean();
sample_mean_t make_sample_mean(void);
void reset_sample_mean(sample_mean_t* self);
void observe_sample_mean(sample_mean_t* self, double sample_value);
double get_sample_mean(sample_mean_t* self);
Expand Down
4 changes: 2 additions & 2 deletions dr_plugin_gui/include/dr_meter_plugin_gui.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

struct DB_playItem_s;

int dr_meter_gui_start();
int dr_meter_gui_start(void);
struct DB_plugin_action_s* dr_meter_gui_get_actions(struct DB_playItem_s* item);
int dr_meter_gui_connect(); // connect this to DDB GTK and computing dr_meter plugins
int dr_meter_gui_connect(void); // connect this to DDB GTK and computing dr_meter plugins

#endif /* DR_PLUGIN_GUI_DR_METER_PLUGIN_GUI_H */

0 comments on commit 9f8d944

Please sign in to comment.