[PATCH 03/10] fb: staticize some things in the FB_SHIFT != FB_STIP_SHIFT path

Adam Jackson ajax at redhat.com
Mon Mar 10 08:04:27 PDT 2014


gcc warns about "no previous prototype"; since these are only used in
this file static is fine.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 fb/fbblt.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fb/fbblt.c b/fb/fbblt.c
index 72a05f6..d2e9447 100644
--- a/fb/fbblt.c
+++ b/fb/fbblt.c
@@ -521,7 +521,7 @@ fbBlt24(FbBits * srcLine,
  * creating an ring of values stepped through for each line
  */
 
-void
+static void
 fbBltOdd(FbBits * srcLine,
          FbStride srcStrideEven,
          FbStride srcStrideOdd,
@@ -668,7 +668,7 @@ fbBltOdd(FbBits * srcLine,
     }
 }
 
-void
+static void
 fbBltOdd24(FbBits * srcLine,
            FbStride srcStrideEven,
            FbStride srcStrideOdd,
@@ -702,7 +702,7 @@ fbBltOdd24(FbBits * srcLine,
 #endif
 
 #if FB_STIP_SHIFT != FB_SHIFT
-void
+static void
 fbSetBltOdd(FbStip * stip,
             FbStride stipStride,
             int srcX,
-- 
1.8.5.3



More information about the xorg-devel mailing list