6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gd.c libwmf-0.2.8.4.symbols/src/extra/gd/gd.c
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd.c	2005-07-27 21:35:05.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gd.c	2006-11-16 12:27:05.000000000 +0000
6ccfd1
@@ -249,6 +249,7 @@
6ccfd1
   }
6ccfd1
 HWBType;
6ccfd1
 
6ccfd1
+#if 0
6ccfd1
 static HWBType *
6ccfd1
 RGB_to_HWB (RGBType RGB, HWBType * HWB)
6ccfd1
 {
6ccfd1
@@ -308,7 +309,6 @@
6ccfd1
   return diff;
6ccfd1
 }
6ccfd1
 
6ccfd1
-#if 0
6ccfd1
 /*
6ccfd1
  * This is not actually used, but is here for completeness, in case someone wants to
6ccfd1
  * use the HWB stuff for anything else...
6ccfd1
@@ -355,6 +355,7 @@
6ccfd1
 }
6ccfd1
 #endif
6ccfd1
 
6ccfd1
+#if 0
6ccfd1
 int
6ccfd1
 gdImageColorClosestHWB (gdImagePtr im, int r, int g, int b)
6ccfd1
 {
6ccfd1
@@ -384,6 +385,7 @@
6ccfd1
     }
6ccfd1
   return ct;
6ccfd1
 }
6ccfd1
+#endif
6ccfd1
 
6ccfd1
 int
6ccfd1
 gdImageColorExact (gdImagePtr im, int r, int g, int b)
6ccfd1
@@ -677,7 +679,7 @@
6ccfd1
     }
6ccfd1
 }
6ccfd1
 
6ccfd1
-int
6ccfd1
+static int
6ccfd1
 gdImageGetTrueColorPixel (gdImagePtr im, int x, int y)
6ccfd1
 {
6ccfd1
   int p = gdImageGetPixel (im, x, y);
6ccfd1
@@ -1286,11 +1288,11 @@
6ccfd1
   return len;
6ccfd1
 }
6ccfd1
 
6ccfd1
-#ifndef HAVE_LSQRT
6ccfd1
+#if 0
6ccfd1
 /* If you don't have a nice square root function for longs, you can use
6ccfd1
    ** this hack
6ccfd1
  */
6ccfd1
-long
6ccfd1
+static long
6ccfd1
 lsqrt (long n)
6ccfd1
 {
6ccfd1
   long result = (long) sqrt ((double) n);
6ccfd1
@@ -2250,7 +2252,7 @@
6ccfd1
     }
6ccfd1
 }
6ccfd1
 
6ccfd1
-int gdCompareInt (const void *a, const void *b);
6ccfd1
+static int gdCompareInt (const void *a, const void *b);
6ccfd1
 
6ccfd1
 /* THANKS to Kirsten Schulz for the polygon fixes! */
6ccfd1
 
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdcache.h libwmf-0.2.8.4.symbols/src/extra/gd/gdcache.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdcache.h	2001-08-21 15:40:33.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdcache.h	2006-11-16 12:13:40.000000000 +0000
6ccfd1
@@ -41,6 +41,9 @@
6ccfd1
 /*********************************************************/
6ccfd1
 
6ccfd1
 /* #include <malloc.h> */
6ccfd1
+
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 #ifndef NULL
6ccfd1
 #define NULL (void *)0
6ccfd1
 #endif
6ccfd1
@@ -81,3 +84,5 @@
6ccfd1
 
6ccfd1
 void *
6ccfd1
 gdCacheGet( gdCache_head_t *head, void *keydata );
6ccfd1
+
6ccfd1
+#pragma GCC visibility pop
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gd_clip.h libwmf-0.2.8.4.symbols/src/extra/gd/gd_clip.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd_clip.h	2001-03-28 10:37:30.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gd_clip.h	2006-11-16 12:11:49.000000000 +0000
6ccfd1
@@ -1,6 +1,8 @@
6ccfd1
 #ifndef GD_CLIP_H
6ccfd1
 #define GD_CLIP_H 1
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 #ifdef __cplusplus
6ccfd1
 extern "C" {
6ccfd1
 #endif
6ccfd1
@@ -23,4 +25,6 @@
6ccfd1
 }
6ccfd1
 #endif
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif /* GD_CLIP_H */
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdfontg.h libwmf-0.2.8.4.symbols/src/extra/gd/gdfontg.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdfontg.h	2001-03-28 10:37:30.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdfontg.h	2006-11-16 12:12:03.000000000 +0000
6ccfd1
@@ -2,6 +2,8 @@
6ccfd1
 #ifndef _GDFONTG_H_
6ccfd1
 #define _GDFONTG_H_ 1
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 #ifdef __cplusplus
6ccfd1
 extern "C" {
6ccfd1
 #endif
6ccfd1
@@ -25,5 +27,7 @@
6ccfd1
 }
6ccfd1
 #endif
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif
6ccfd1
 
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdfontl.h libwmf-0.2.8.4.symbols/src/extra/gd/gdfontl.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdfontl.h	2001-03-28 10:37:30.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdfontl.h	2006-11-16 12:12:11.000000000 +0000
6ccfd1
@@ -2,6 +2,8 @@
6ccfd1
 #ifndef _GDFONTL_H_
6ccfd1
 #define _GDFONTL_H_ 1
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 #ifdef __cplusplus
6ccfd1
 extern "C" {
6ccfd1
 #endif
6ccfd1
@@ -26,5 +28,7 @@
6ccfd1
 }
6ccfd1
 #endif
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif
6ccfd1
 
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdfontmb.h libwmf-0.2.8.4.symbols/src/extra/gd/gdfontmb.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdfontmb.h	2001-03-28 10:37:30.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdfontmb.h	2006-11-16 12:12:19.000000000 +0000
6ccfd1
@@ -2,6 +2,8 @@
6ccfd1
 #ifndef _GDFONTMB_H_
6ccfd1
 #define _GDFONTMB_H_ 1
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 #ifdef __cplusplus
6ccfd1
 extern "C" {
6ccfd1
 #endif
6ccfd1
@@ -24,5 +26,7 @@
6ccfd1
 }
6ccfd1
 #endif
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif
6ccfd1
 
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdfonts.h libwmf-0.2.8.4.symbols/src/extra/gd/gdfonts.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdfonts.h	2001-03-28 10:37:30.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdfonts.h	2006-11-16 12:12:28.000000000 +0000
6ccfd1
@@ -2,6 +2,8 @@
6ccfd1
 #ifndef _GDFONTS_H_
6ccfd1
 #define _GDFONTS_H_ 1
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 #ifdef __cplusplus
6ccfd1
 extern "C" {
6ccfd1
 #endif
6ccfd1
@@ -24,5 +26,7 @@
6ccfd1
 }
6ccfd1
 #endif
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif
6ccfd1
 
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdfontt.h libwmf-0.2.8.4.symbols/src/extra/gd/gdfontt.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdfontt.h	2001-03-28 10:37:30.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdfontt.h	2006-11-16 12:12:36.000000000 +0000
6ccfd1
@@ -2,6 +2,8 @@
6ccfd1
 #ifndef _GDFONTT_H_
6ccfd1
 #define _GDFONTT_H_ 1
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 #ifdef __cplusplus
6ccfd1
 extern "C" {
6ccfd1
 #endif
6ccfd1
@@ -25,5 +27,7 @@
6ccfd1
 }
6ccfd1
 #endif
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif
6ccfd1
 
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdft.c libwmf-0.2.8.4.symbols/src/extra/gd/gdft.c
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdft.c	2005-07-27 21:35:05.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdft.c	2006-11-16 12:24:50.000000000 +0000
6ccfd1
@@ -533,7 +533,7 @@
6ccfd1
 }
6ccfd1
 
6ccfd1
 /* draw_bitmap - transfers glyph bitmap to GD image */
6ccfd1
-/* static */ char *
6ccfd1
+static char *
6ccfd1
 gdft_draw_bitmap (gdImage * im, int fg, FT_Bitmap bitmap, int pen_x, int pen_y)
6ccfd1
 {
6ccfd1
   unsigned char *pixel = 0;
6ccfd1
@@ -643,7 +643,7 @@
6ccfd1
   return (char *) NULL;
6ccfd1
 }
6ccfd1
 
6ccfd1
-int
6ccfd1
+static int
6ccfd1
 gdroundupdown (FT_F26Dot6 v1, int updown)
6ccfd1
 {
6ccfd1
   return (!updown)
6ccfd1
@@ -651,7 +651,9 @@
6ccfd1
     : (v1 > 0 ? ((v1 + 63) >> 6) : v1 >> 6);
6ccfd1
 }
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
 extern int any2eucjp (char *, char *, unsigned int);
6ccfd1
+#pragma GCC visibility pop
6ccfd1
 
6ccfd1
 /********************************************************************/
6ccfd1
 /* gdImageStringFT -  render a utf8 string onto a gd image          */
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gd_gd2.c libwmf-0.2.8.4.symbols/src/extra/gd/gd_gd2.c
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd_gd2.c	2005-07-27 21:35:05.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gd_gd2.c	2006-11-16 12:21:28.000000000 +0000
6ccfd1
@@ -34,8 +34,10 @@
6ccfd1
   }
6ccfd1
 t_chunk_info;
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
 extern int _gdGetColors (gdIOCtx * in, gdImagePtr im, int gd2xFlag);
6ccfd1
 extern void _gdPutColors (gdImagePtr im, gdIOCtx * out);
6ccfd1
+#pragma GCC visibility pop
6ccfd1
 
6ccfd1
 /* */
6ccfd1
 /* Read the extra info in the gd2 header. */
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gd_gd.c libwmf-0.2.8.4.symbols/src/extra/gd/gd_gd.c
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd_gd.c	2005-07-27 21:35:05.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gd_gd.c	2006-11-16 12:21:43.000000000 +0000
6ccfd1
@@ -11,6 +11,11 @@
6ccfd1
 /* Exported functions: */
6ccfd1
 extern void gdImageGd (gdImagePtr im, FILE * out);
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+int _gdGetColors (gdIOCtx * in, gdImagePtr im, int gd2xFlag);
6ccfd1
+void _gdPutColors (gdImagePtr im, gdIOCtx * out);
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 
6ccfd1
 /* Use this for commenting out debug-print statements. */
6ccfd1
 /* Just use the first '#define' to allow all the prints... */
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gd.h libwmf-0.2.8.4.symbols/src/extra/gd/gd.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd.h	2002-12-05 20:09:11.000000000 +0000
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gd.h	2006-11-16 12:14:11.000000000 +0000
6ccfd1
@@ -25,6 +25,8 @@
6ccfd1
 #include <gd_io.h>
6ccfd1
 #include <gd_clip.h>
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 /* The maximum number of palette entries in palette-based images.
6ccfd1
 	In the wonderful new world of gd 2.0, you can of course have
6ccfd1
 	many more colors when using truecolor mode. */
6ccfd1
@@ -497,6 +499,8 @@
6ccfd1
 /* resolution affects ttf font rendering, particularly hinting */
6ccfd1
 #define GD_RESOLUTION           96      /* pixels per inch */
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #ifdef __cplusplus
6ccfd1
 }
6ccfd1
 #endif
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdhelpers.h libwmf-0.2.8.4.symbols/src/extra/gd/gdhelpers.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdhelpers.h	2001-03-28 10:37:31.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdhelpers.h	2006-11-16 12:12:55.000000000 +0000
6ccfd1
@@ -1,6 +1,8 @@
6ccfd1
 #ifndef GDHELPERS_H 
6ccfd1
 #define GDHELPERS_H 1
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 /* TBB: strtok_r is not universal; provide an implementation of it. */
6ccfd1
 
6ccfd1
 extern char *gd_strtok_r(char *s, char *sep, char **state);
6ccfd1
@@ -13,5 +15,7 @@
6ccfd1
 void *gdMalloc(size_t size);
6ccfd1
 void *gdRealloc(void *ptr, size_t size);
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif /* GDHELPERS_H */
6ccfd1
 
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gd_io.h libwmf-0.2.8.4.symbols/src/extra/gd/gd_io.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd_io.h	2001-03-28 10:37:30.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gd_io.h	2006-11-16 12:13:08.000000000 +0000
6ccfd1
@@ -2,6 +2,8 @@
6ccfd1
 #define GD_IO_H 1
6ccfd1
 
6ccfd1
 #include <stdio.h>
6ccfd1
+
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
  
6ccfd1
 typedef struct gdIOCtx {
6ccfd1
 	int	(*getC)(struct gdIOCtx*);
6ccfd1
@@ -36,4 +38,6 @@
6ccfd1
 int gdSeek(gdIOCtx *ctx, const int);
6ccfd1
 long gdTell(gdIOCtx *ctx);
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gd_jpeg.c libwmf-0.2.8.4.symbols/src/extra/gd/gd_jpeg.c
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd_jpeg.c	2005-07-27 21:35:06.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gd_jpeg.c	2006-11-16 12:28:13.000000000 +0000
6ccfd1
@@ -99,7 +99,7 @@
6ccfd1
   return rv;
6ccfd1
 }
6ccfd1
 
6ccfd1
-void jpeg_gdIOCtx_dest (j_compress_ptr cinfo, gdIOCtx * outfile);
6ccfd1
+static void jpeg_gdIOCtx_dest (j_compress_ptr cinfo, gdIOCtx * outfile);
6ccfd1
 
6ccfd1
 void
6ccfd1
 gdImageJpegCtx (gdImagePtr im, gdIOCtx * outfile, int quality)
6ccfd1
@@ -266,7 +266,7 @@
6ccfd1
   return im;
6ccfd1
 }
6ccfd1
 
6ccfd1
-void
6ccfd1
+static void
6ccfd1
   jpeg_gdIOCtx_src (j_decompress_ptr cinfo,
6ccfd1
 		    gdIOCtx * infile);
6ccfd1
 
6ccfd1
@@ -511,7 +511,7 @@
6ccfd1
  * before any data is actually read.
6ccfd1
  */
6ccfd1
 
6ccfd1
-void
6ccfd1
+static void
6ccfd1
 init_source (j_decompress_ptr cinfo)
6ccfd1
 {
6ccfd1
   my_src_ptr src = (my_src_ptr) cinfo->src;
6ccfd1
@@ -559,7 +559,7 @@
6ccfd1
 
6ccfd1
 #define END_JPEG_SEQUENCE "\r\n[*]--:END JPEG:--[*]\r\n"
6ccfd1
 
6ccfd1
-safeboolean
6ccfd1
+static safeboolean
6ccfd1
 fill_input_buffer (j_decompress_ptr cinfo)
6ccfd1
 {
6ccfd1
   my_src_ptr src = (my_src_ptr) cinfo->src;
6ccfd1
@@ -627,7 +627,7 @@
6ccfd1
  * buffer is the application writer's problem.
6ccfd1
  */
6ccfd1
 
6ccfd1
-void
6ccfd1
+static void
6ccfd1
 skip_input_data (j_decompress_ptr cinfo, long num_bytes)
6ccfd1
 {
6ccfd1
   my_src_ptr src = (my_src_ptr) cinfo->src;
6ccfd1
@@ -669,7 +669,7 @@
6ccfd1
  * for error exit.
6ccfd1
  */
6ccfd1
 
6ccfd1
-void
6ccfd1
+static void
6ccfd1
 term_source (j_decompress_ptr cinfo)
6ccfd1
 {
6ccfd1
   
6ccfd1
@@ -742,7 +742,7 @@
6ccfd1
  * before any data is actually written.
6ccfd1
  */
6ccfd1
 
6ccfd1
-void
6ccfd1
+static void
6ccfd1
 init_destination (j_compress_ptr cinfo)
6ccfd1
 {
6ccfd1
   my_dest_ptr dest = (my_dest_ptr) cinfo->dest;
6ccfd1
@@ -780,7 +780,7 @@
6ccfd1
  * write it out when emptying the buffer externally.
6ccfd1
  */
6ccfd1
 
6ccfd1
-safeboolean
6ccfd1
+static safeboolean
6ccfd1
 empty_output_buffer (j_compress_ptr cinfo)
6ccfd1
 {
6ccfd1
   my_dest_ptr dest = (my_dest_ptr) cinfo->dest;
6ccfd1
@@ -805,7 +805,7 @@
6ccfd1
  * for error exit.
6ccfd1
  */
6ccfd1
 
6ccfd1
-void
6ccfd1
+static void
6ccfd1
 term_destination (j_compress_ptr cinfo)
6ccfd1
 {
6ccfd1
   my_dest_ptr dest = (my_dest_ptr) cinfo->dest;
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdkanji.c libwmf-0.2.8.4.symbols/src/extra/gd/gdkanji.c
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdkanji.c	2001-05-19 14:09:34.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdkanji.c	2006-11-16 12:29:42.000000000 +0000
6ccfd1
@@ -555,6 +555,11 @@
6ccfd1
   return kanji;
6ccfd1
 }
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+int
6ccfd1
+any2eucjp (unsigned char *dest, unsigned char *src, unsigned int dest_max);
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 int
6ccfd1
 any2eucjp (unsigned char *dest, unsigned char *src, unsigned int dest_max)
6ccfd1
 {
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gd_topal.c libwmf-0.2.8.4.symbols/src/extra/gd/gd_topal.c
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd_topal.c	2005-07-27 21:35:06.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gd_topal.c	2006-11-16 12:25:45.000000000 +0000
6ccfd1
@@ -1129,7 +1129,7 @@
6ccfd1
  * Map some rows of pixels to the output colormapped representation.
6ccfd1
  */
6ccfd1
 
6ccfd1
-void
6ccfd1
+static void
6ccfd1
 pass2_no_dither (gdImagePtr im, my_cquantize_ptr cquantize)
6ccfd1
 /* This version performs no dithering */
6ccfd1
 {
6ccfd1
@@ -1217,7 +1217,7 @@
6ccfd1
 #endif
6ccfd1
 
6ccfd1
 
6ccfd1
-void
6ccfd1
+static void
6ccfd1
 pass2_fs_dither (gdImagePtr im, my_cquantize_ptr cquantize)
6ccfd1
 
6ccfd1
 /* This version performs Floyd-Steinberg dithering */
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gd_wbmp.c libwmf-0.2.8.4.symbols/src/extra/gd/gd_wbmp.c
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd_wbmp.c	2001-05-19 14:09:34.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gd_wbmp.c	2006-11-16 12:28:33.000000000 +0000
6ccfd1
@@ -67,7 +67,7 @@
6ccfd1
    ** Wrapper around gdPutC for use with writewbmp
6ccfd1
    **
6ccfd1
  */
6ccfd1
-void
6ccfd1
+static void
6ccfd1
 gd_putout (int i, void *out)
6ccfd1
 {
6ccfd1
   gdPutC (i, (gdIOCtx *) out);
6ccfd1
@@ -79,7 +79,7 @@
6ccfd1
    ** Wrapper around gdGetC for use with readwbmp
6ccfd1
    **
6ccfd1
  */
6ccfd1
-int
6ccfd1
+static int
6ccfd1
 gd_getin (void *in)
6ccfd1
 {
6ccfd1
   return (gdGetC ((gdIOCtx *) in));
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/gdxpm.c libwmf-0.2.8.4.symbols/src/extra/gd/gdxpm.c
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gdxpm.c	2001-05-19 14:09:34.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/gdxpm.c	2006-11-16 12:18:29.000000000 +0000
6ccfd1
@@ -10,6 +10,7 @@
6ccfd1
 #include "gd.h"
6ccfd1
 #include "gdhelpers.h"
6ccfd1
 
6ccfd1
+#if 0
6ccfd1
 #ifndef HAVE_XPM
6ccfd1
 gdImagePtr
6ccfd1
 gdImageCreateFromXpm (char *filename)
6ccfd1
@@ -146,3 +147,4 @@
6ccfd1
   return (im);
6ccfd1
 }
6ccfd1
 #endif
6ccfd1
+#endif
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/jisx0208.h libwmf-0.2.8.4.symbols/src/extra/gd/jisx0208.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/jisx0208.h	2001-03-28 10:37:35.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/jisx0208.h	2006-11-16 12:13:19.000000000 +0000
6ccfd1
@@ -1,5 +1,8 @@
6ccfd1
 #ifndef JISX0208_H
6ccfd1
 #define JISX0208_H
6ccfd1
+
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 /* This file was derived from "src/VF_Ftype.c" in VFlib2-2.24.2
6ccfd1
    by Dr. Kakugawa */
6ccfd1
 
6ccfd1
@@ -1202,4 +1205,6 @@
6ccfd1
 0x2170, 0x2171, 0x2172, 0x2173, 0x2174, 0x2175, 0x2176, 0x2177,
6ccfd1
 0x2178, 0x2179, 0xFFE2, 0xFFE4, 0xFF07, 0xFF02}};
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif /* JISX0208_H */
6ccfd1
diff -ru libwmf-0.2.8.4/src/extra/gd/wbmp.h libwmf-0.2.8.4.symbols/src/extra/gd/wbmp.h
6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/wbmp.h	2001-03-28 10:37:37.000000000 +0100
6ccfd1
+++ libwmf-0.2.8.4.symbols/src/extra/gd/wbmp.h	2006-11-16 12:14:19.000000000 +0000
6ccfd1
@@ -12,6 +12,8 @@
6ccfd1
 #ifndef __WBMP_H
6ccfd1
 #define __WBMP_H	1
6ccfd1
 
6ccfd1
+#pragma GCC visibility push(hidden)
6ccfd1
+
6ccfd1
 
6ccfd1
 /* WBMP struct
6ccfd1
 ** -----------
6ccfd1
@@ -44,4 +46,6 @@
6ccfd1
 void    freewbmp( Wbmp *wbmp );
6ccfd1
 void    printwbmp( Wbmp *wbmp );  
6ccfd1
 
6ccfd1
+#pragma GCC visibility pop
6ccfd1
+
6ccfd1
 #endif