summaryrefslogtreecommitdiff
path: root/src/gdk
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdk')
-rw-r--r--src/gdk/cdgdk.c4
-rw-r--r--src/gdk/cdgdk.h6
2 files changed, 2 insertions, 8 deletions
diff --git a/src/gdk/cdgdk.c b/src/gdk/cdgdk.c
index e0692fc..5a84c6e 100644
--- a/src/gdk/cdgdk.c
+++ b/src/gdk/cdgdk.c
@@ -15,8 +15,8 @@
#include <gdk/gdk.h>
-GdkColor (*cdgdkGetPixel)(cdCtxCanvas *ctxcanvas, unsigned long rgb); /* access to the color table */
-void (*cdgdkGetRGB)(cdCtxCanvas *ctxcanvas, unsigned long pixel,
+static GdkColor (*cdgdkGetPixel)(cdCtxCanvas *ctxcanvas, unsigned long rgb); /* access to the color table */
+static void (*cdgdkGetRGB)(cdCtxCanvas *ctxcanvas, unsigned long pixel,
unsigned char* red,
unsigned char* green,
unsigned char* blue); /* access to the color table */
diff --git a/src/gdk/cdgdk.h b/src/gdk/cdgdk.h
index 82cb25d..86ac7a6 100644
--- a/src/gdk/cdgdk.h
+++ b/src/gdk/cdgdk.h
@@ -69,12 +69,6 @@ struct _cdCtxCanvas {
#define cdCOLOR8TO16(_x) (_x*257) /* 65535/255 = 257 */
#define cdCOLOR16TO8(_x) ((unsigned char)(_x/257))
-extern GdkColor (*cdgdkGetPixel)(cdCtxCanvas *ctxcanvas, unsigned long rgb);
-extern void (*cdxGetRGB)(cdCtxCanvas *ctxcanvas, unsigned long pixel,
- unsigned char* red,
- unsigned char* green,
- unsigned char* blue);
-
cdCtxCanvas *cdgdkCreateCanvas(cdCanvas* canvas, GdkDrawable* wnd, GdkScreen* scr, GdkVisual* vis);
void cdgdkInitTable(cdCanvas* canvas);
void cdgdkKillCanvas(cdCtxCanvas *ctxcanvas);