X-Git-Url: https://git.wirehaze.ovh/graph-theory.git/blobdiff_plain/5638cc2d0dc28b74e32271de100952c0b305ef37..3d09bef1723d7c9df322b9b037b24eccf7c44767:/graph/dfs.c diff --git a/graph/dfs.c b/graph/dfs.c index 72b05bb..e819f46 100644 --- a/graph/dfs.c +++ b/graph/dfs.c @@ -1,18 +1,7 @@ #include "graph/dfs.h" +#include "graph/search.h" #include -enum color -{ - WHITE = 0, - RED, - BLUE -}; - -struct state -{ - enum color c; -}; - static int dfs_ (struct graph *g, struct graph *dt, struct state *vs, unsigned int ri) {