Skip to content

Commit

Permalink
dakara_check_version strict prototype declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
odrling committed Mar 26, 2024
1 parent 3bcd25d commit c4a8a5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dakara_check.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static inline void dakara_check_results_free(struct dakara_check_results *res) {
free(res);
}

const char *dakara_check_version();
const char *dakara_check_version(void);

struct dakara_check_results *dakara_check(char *filepath,
int external_sub_file);
Expand Down
2 changes: 1 addition & 1 deletion libdakara_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "version.h"

const char *dakara_check_version() { return DAKARA_CHECK_VERSION; }
const char *dakara_check_version(void) { return DAKARA_CHECK_VERSION; }

struct dakara_check_results *dakara_check(char *filepath,
int external_sub_file) {
Expand Down

0 comments on commit c4a8a5a

Please sign in to comment.