-I$(top_srcdir)/lib/common \
$(EXPAT_INCLUDES)
-noinst_HEADERS = colortbl.h convert.h mmio.h matrix_market.h \
+noinst_HEADERS = colortbl.h colorxlate.h convert.h mmio.h matrix_market.h \
graph_generator.h gml2gv.h gmlparse.h openFile.h
if ENABLE_STATIC
bin_PROGRAMS = gc gvcolor gxl2gv acyclic nop ccomps sccmap tred \
$(top_builddir)/lib/cgraph/libcgraph.la
-gvcolor_SOURCES = gvcolor.c colxlate.c colortbl.h
+gvcolor_SOURCES = gvcolor.c colxlate.c colortbl.h colorxlate.h
gvcolor_LDADD = \
$(top_builddir)/lib/ingraphs/libingraphs_C.la \
--- /dev/null
+#pragma once
+
+void colorxlate(char *str, char *buf);
} hsbcolor_t;
#include "colortbl.h"
+#include "colorxlate.h"
static char *canoncolor(const char *orig, char *out)
{
#include <cgraph/alloc.h>
#include <cgraph/cgraph.h>
#include <cgraph/exit.h>
+#include "colorxlate.h"
#include <math.h>
#include <stdlib.h>
typedef struct Agnodeinfo_t {
double MinRankSaturation;
double MaxRankSaturation;
-extern void colorxlate(char *str, char *buf);
-
static int cmpf(Agnode_t ** n0, Agnode_t ** n1)
{
double relrank0 = ND_relrank(*n0);