fh_get_identity: Move to static scope
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 15 Nov 2015 07:17:55 +0000 (08:17 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 15 Nov 2015 07:17:55 +0000 (08:17 +0100)
src/data/file-handle-def.c

index cdecfedfbc6028c6ede885d03dbecd60ec4fc841..53e00be13a71b2c2f1ea8f3ee7621d0780180bba 100644 (file)
@@ -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);