Skip to content

Commit

Permalink
Updated dummy method signature to match prototypes.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamharrison committed Jan 13, 2023
1 parent b89dedf commit 283ee85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/dirmonitor/dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

struct dirmonitor_internal* init_dirmonitor() { return NULL; }
void deinit_dirmonitor(struct dirmonitor_internal* monitor) { }
int get_changes_dirmonitor(struct dirmonitor_internal* monitor, char* buffer, size_t len) { return -1; }
int get_changes_dirmonitor(struct dirmonitor_internal* monitor, char* buffer, int len) { return -1; }
int translate_changes_dirmonitor(struct dirmonitor_internal* monitor, char* buffer, int size, int (*callback)(int, const char*, void*), void* data) { return -1; }
int add_dirmonitor(struct dirmonitor_internal* monitor, const char* path) { return -1; }
void remove_dirmonitor(struct dirmonitor_internal* monitor, int fd) { }
Expand Down

0 comments on commit 283ee85

Please sign in to comment.