summaryrefslogtreecommitdiff
path: root/print/ghostscript7-base/files/patch-src_gdevl256.c
blob: e11d19f8c2d63b4fc360c17c1964b5ca4495f65c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/gdevl256.c.orig	2015-08-22 01:40:41.895138000 +0900
+++ src/gdevl256.c	2015-08-22 01:40:56.016022000 +0900
@@ -307,3 +307,12 @@
     gl_line(x0, y0, x1, y1, color);
     return 0;
 }
+
+#ifdef GS_DEVS_SHARED
+extern void gs_lib_register_device(const gx_device *dev);
+void
+gs_shared_init(void)
+{
+  gs_lib_register_device(&gs_lvga256_device);
+}
+#endif