From 3a3d58adab4724bc9f63a130d5b02f2c7c2c2251 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 15 Nov 2015 08:17:55 +0100 Subject: [PATCH 1/1] fh_get_identity: Move to static scope --- src/data/file-handle-def.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/file-handle-def.c b/src/data/file-handle-def.c index cdecfedfbc..53e00be13a 100644 --- a/src/data/file-handle-def.c +++ b/src/data/file-handle-def.c @@ -91,7 +91,7 @@ static void unname_handle (struct file_handle *); /* Hash table of all active locks. */ static struct hmap locks = HMAP_INITIALIZER (locks); -struct file_identity *fh_get_identity (const struct file_handle *); +static struct file_identity *fh_get_identity (const struct file_handle *); static void fh_free_identity (struct file_identity *); static int fh_compare_file_identities (const struct file_identity *, const struct file_identity *); @@ -704,7 +704,7 @@ struct file_identity value can be used to tell whether two files are actually the same file. The caller is responsible for freeing the structure with fh_free_identity() when finished. */ -struct file_identity * +static struct file_identity * fh_get_identity (const struct file_handle *fh) { struct file_identity *identity = xmalloc (sizeof *identity); -- 2.30.2