* w3mimg/w3mimg.c: include <stdio.h> for NULL From: Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp>
21 lines
352 B
C
21 lines
352 B
C
/* $Id: w3mimg.c,v 1.4 2002/07/19 03:25:56 ukai Exp $ */
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#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;
|
|
}
|