aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/w3mimg.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-07-18 06:07:25 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-07-18 06:07:25 +0000
commitc4c0f87fce0966c7714cdf872e1a52a86a50ca3a (patch)
tree8855e6352241b7e1c74148f7c5ac9efb94105960 /w3mimg/w3mimg.c
parent[w3m-dev 03272] Re: w3m-img for framebuffer merged (Re: Re: w3m-img for fram... (diff)
downloadw3m-c4c0f87fce0966c7714cdf872e1a52a86a50ca3a.tar.gz
w3m-c4c0f87fce0966c7714cdf872e1a52a86a50ca3a.zip
XMakefile (w3mimg/w3mimg): added
(w3img/fb) fixed * w3mimg/w3mimg.h (w3mimg_open): deleted to avoid compilation warnings * w3mimg/w3mimg.c: added * configure (imgobjs): add w3mimg/w3mimg.o From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--w3mimg/w3mimg.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/w3mimg/w3mimg.c b/w3mimg/w3mimg.c
new file mode 100644
index 0000000..a898187
--- /dev/null
+++ b/w3mimg/w3mimg.c
@@ -0,0 +1,17 @@
+/* $Id: w3mimg.c,v 1.1 2002/07/18 06:07:39 ukai Exp $ */
+
+#include "w3mimg/w3mimg.h"
+
+w3mimg_op *w3mimg_open() {
+ w3mimg_op *w_op = NULL;
+#ifdef USE_W3MIMG_X11
+ if (w_op == NULL)
+ w_op = w3mimg_x11open();
+#endif
+#ifdef USE_W3MIMG_FB
+ if (w_op == NULL)
+ w_op = w3mimg_fbopen();
+#endif
+ return w_op;
+}
+