[PATCH:xfs 4/7] Make FontWakeup functions be static to fonts.c

Alan Coopersmith alan.coopersmith at oracle.com
Sat Jan 19 23:03:52 PST 2013


Only called from other functions in fonts.c

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 difs/fonts.c   |    6 +++---
 include/difs.h |    3 ---
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/difs/fonts.c b/difs/fonts.c
index 0f857ce..1a2834c 100644
--- a/difs/fonts.c
+++ b/difs/fonts.c
@@ -121,7 +121,7 @@ FreeFPE(FontPathElementPtr fpe)
  * init_fpe() and free_fpe(), there shouldn't be any problem in using
  * freed data.
  */
-void
+static void
 QueueFontWakeup(FontPathElementPtr fpe)
 {
     int         i;
@@ -150,7 +150,7 @@ QueueFontWakeup(FontPathElementPtr fpe)
     num_slept_fpes++;
 }
 
-void
+static void
 RemoveFontWakeup(FontPathElementPtr fpe)
 {
     int         i,
@@ -168,7 +168,7 @@ RemoveFontWakeup(FontPathElementPtr fpe)
 }
 
 /* ARGSUSED */
-void
+static void
 FontWakeup(pointer data, int count, unsigned long *LastSelectMask)
 {
     int         i;
diff --git a/include/difs.h b/include/difs.h
index 50f31a2..a3cef7b 100644
--- a/include/difs.h
+++ b/include/difs.h
@@ -56,9 +56,6 @@ extern void InitFonts ( void );
 
 /* difs/fonts.c */
 extern int FontToFSError ( int err );
-extern void QueueFontWakeup ( FontPathElementPtr fpe );
-extern void RemoveFontWakeup ( FontPathElementPtr fpe );
-extern void FontWakeup ( pointer data, int count, unsigned long *LastSelectMask );
 extern int OpenFont ( ClientPtr client, Font fid, fsBitmapFormat format, fsBitmapFormatMask format_mask, int namelen, char *name );
 extern int CloseClientFont ( ClientFontPtr cfp, FSID fid );
 extern int SetFontCatalogue ( char *str, int *badpath );
-- 
1.7.9.2



More information about the xorg-devel mailing list