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