Skip to content

Commit

Permalink
custom_calyptia: Remove duplicated function declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Dec 5, 2024
1 parent 7f2e333 commit 89c2ad0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions plugins/custom_calyptia/calyptia.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,4 @@ static flb_sds_t agent_config_filename(struct calyptia *ctx, char *fname);
/* These are unique to the agent rather than the fleet */
#define machine_id_fleet_config_filename(a) agent_config_filename((a), "machine-id")

/* Function wrappers to enable mocking for unit test filesystem access */
int (*flb_access)(const char *pathname, int mode);
int (*flb_open)(const char *pathname, int flags, ...);
ssize_t (*flb_write)(int fd, const void *buf, size_t count);
int (*flb_close)(int fd);
int (*flb_utils_read_file_wrapper)(char *path, char **out_buf, size_t *out_size);

#endif /* FLB_CALYPTIA_H */

0 comments on commit 89c2ad0

Please sign in to comment.