From: John Darrington <john@darrington.wattle.id.au>
Date: Sun, 15 Nov 2015 07:17:55 +0000 (+0100)
Subject: fh_get_identity: Move to static scope
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a3d58adab4724bc9f63a130d5b02f2c7c2c2251;p=pspp

fh_get_identity: Move to static scope
---

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);