freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] 'static' description in pcf/pcfutil.c


From: Chisato Yamauchi
Subject: [Devel] 'static' description in pcf/pcfutil.c
Date: Sun, 18 Apr 2004 03:56:15 +0900 (JST)

  Hi,

  Although the pcf/pcfutil.c does not have description of 
`static' of functions, did you forget to write it?   Since 
xc/lib/font/util/utilbitmap.c also has BitOrderInvert(), 
TwoByteSwap(), FourByteSwap() and RepadBitmap().  

  Didn't this become a problem?

  I attach a pach.

------------------------------------------------------------
    Chisato Yamauchi
--- xc/extras/freetype2/src/pcf/pcfutil.c._orig_        2001-06-28 
04:45:50.000000000 +0900
+++ xc/extras/freetype2/src/pcf/pcfutil.c       2004-04-18 01:26:59.000000000 
+0900
@@ -72,7 +72,7 @@
    *  Invert bit order within each BYTE of an array.
    */
 
-  void
+  static void
   BitOrderInvert( unsigned char*  buf,
                   int             nbytes )
   {
@@ -88,7 +88,7 @@
    *  Invert byte order within each 16-bits of an array.
    */
 
-  void
+  static void
   TwoByteSwap( unsigned char*  buf,
                int             nbytes )
   {
@@ -107,7 +107,7 @@
    *  Invert byte order within each 32-bits of an array.
    */
 
-  void
+  static void
   FourByteSwap( unsigned char*  buf,
                 int             nbytes )
   {
@@ -131,7 +131,7 @@
    *  Repad a bitmap.
    */
 
-  int
+  static int
   RepadBitmap( char*         pSrc,
                char*         pDst,
                unsigned int  srcPad,
--- xc/extras/freetype2/src/pcf/pcfutil.h._orig_        2001-06-29 
02:48:32.000000000 +0900
+++ xc/extras/freetype2/src/pcf/pcfutil.h       2004-04-18 01:27:24.000000000 
+0900
@@ -32,19 +32,19 @@
 #include <ft2build.h>
 
 
-  void
+  static void
   BitOrderInvert( unsigned char*  buf,
                   int             nbytes);
 
-  void
+  static void
   TwoByteSwap( unsigned char*  buf,
                int             nbytes);
 
-  void
+  static void
   FourByteSwap( unsigned char*  buf,
                 int             nbytes);
 
-  int
+  static int
   RepadBitmap( char*           pSrc,
                char*           pDst,
                unsigned int    srcPad,
--- xc/extras/freetype2/src/pcf/pcfdrivr.c._orig_       2004-03-05 
18:25:59.000000000 +0900
+++ xc/extras/freetype2/src/pcf/pcfdrivr.c      2004-04-18 03:00:01.000000000 
+0900
@@ -37,7 +37,6 @@
 
 #include "pcf.h"
 #include "pcfdrivr.h"
-#include "pcfutil.h"
 #include "pcfread.h"
 
 #include "pcferror.h"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]