[Spice-devel] [PATCH 12/17] Make internal functions static

alexl at redhat.com alexl at redhat.com
Tue Sep 14 12:09:02 PDT 2010


From: Alexander Larsson <alexl at redhat.com>

---
 display/res.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/display/res.c b/display/res.c
index 9d244a6..fee2ae5 100644
--- a/display/res.c
+++ b/display/res.c
@@ -1298,7 +1298,7 @@ typedef struct InternalImage {
 
 #define IMAGE_KEY_HASH_VAL(hsurf) (HSURF_HASH_VAL(hsurf) & IMAGE_KEY_HASH_MASK)
 
-void ImageKeyPut(PDev *pdev, HSURF hsurf, UINT64 unique, UINT32 key)
+static void ImageKeyPut(PDev *pdev, HSURF hsurf, UINT64 unique, UINT32 key)
 {
     ImageKey *image_key = &pdev->Res->image_key_lookup[IMAGE_KEY_HASH_VAL(hsurf)];
 
@@ -1310,7 +1310,7 @@ void ImageKeyPut(PDev *pdev, HSURF hsurf, UINT64 unique, UINT32 key)
     image_key->key = key;
 }
 
-BOOL ImageKeyGet(PDev *pdev, HSURF hsurf, UINT64 unique, UINT32 *key)
+static BOOL ImageKeyGet(PDev *pdev, HSURF hsurf, UINT64 unique, UINT32 *key)
 {
     ImageKey *image_key;
 
-- 
1.7.2.2



More information about the Spice-devel mailing list