]> granicus.if.org Git - graphviz/commitdiff
remove now unused NUL_FILE
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 30 Aug 2020 16:57:46 +0000 (09:57 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Sep 2020 17:38:46 +0000 (10:38 -0700)
plugin/gs/gvloadimage_gs.c
plugin/poppler/gvloadimage_poppler.c
plugin/rsvg/gvloadimage_rsvg.c

index 0fee65f0745f99d8ac73d2538c4707f7c6fe3ed2..a33354da71176a83d2f66366911b07510723bfc6 100644 (file)
 #define e_invalidid gs_error_invalidid
 #endif
 
-#ifdef _WIN32
-#define NUL_FILE "nul"
-#else
-#define NUL_FILE "/dev/null"
-#endif
-
 typedef enum {
     FORMAT_PS_CAIRO, FORMAT_EPS_CAIRO,
 } format_type;
index 7fd3492434414b3c3b2271149fd84f77e86b91da..955c48dfc960ab62abc1aa7a19ab25cbb31df62e 100644 (file)
 #include <poppler.h>
 #include <cairo.h>
 
-#ifdef _WIN32
-#define NUL_FILE "nul"
-#else
-#define NUL_FILE "/dev/null"
-#endif
-
 typedef enum {
     FORMAT_PDF_CAIRO,
 } format_type;
index 7ac448218a43296821013d5bd707729ab8b1d99f..d5e39bba3fe70197113f7b7b153f1cf0b73b40a6 100644 (file)
 #endif
 #include <cairo/cairo-svg.h>
 
-#ifdef _WIN32
-#define NUL_FILE "nul"
-#else
-#define NUL_FILE "/dev/null"
-#endif
-
 typedef enum {
     FORMAT_SVG_CAIRO,
 } format_type;