From: Ralph Ronnquist Date: Wed, 10 Nov 2021 10:23:51 +0000 (+1100) Subject: adding extern tags X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=47371108771d09dd3edba5bf6622a94c60df1c30;p=rrq%2Ffuse_xattrs.git adding extern tags --- diff --git a/utils.h b/utils.h index 3159eaa..e18e460 100644 --- a/utils.h +++ b/utils.h @@ -35,15 +35,15 @@ enum namespace { ERROR }; -enum namespace get_namespace(const char *name); -char *get_sidecar_path(const char *path); -char *sanitize_value(const char *value, size_t value_size); -char *prepend_source_directory(const char *b); +extern enum namespace get_namespace(const char *name); +extern char *get_sidecar_path(const char *path); +extern char *sanitize_value(const char *value, size_t value_size); +extern char *prepend_source_directory(const char *b); -const size_t BINARY_SIDECAR_EXT_SIZE; -const int filename_is_sidecar(const char *string); +extern const size_t BINARY_SIDECAR_EXT_SIZE; +extern const int filename_is_sidecar(const char *string); -int is_directory(const char *path); -int is_regular_file(const char *path); +extern int is_directory(const char *path); +extern int is_regular_file(const char *path); #endif //FUSE_XATTRS_UTILS_H