diff --git a/src/include/66/graph.h b/src/include/66/graph.h index 14d965984c0a404bcec1599a698c8ef297fc71a7..3642b5c8327ced16bdcc1b3da08a11298fdc7515 100644 --- a/src/include/66/graph.h +++ b/src/include/66/graph.h @@ -23,9 +23,6 @@ #include <66/tree.h> #include <66/ssexec.h> - - -//extern void graph_build_g(graph_t *graph, resolve_service_t *ares, unsigned int *areslen, ssexec_t *info) ; extern void graph_build_tree(graph_t *g,char const *base, resolve_tree_master_enum_t field) ; extern void graph_build_service(graph_t *g, resolve_service_t *ares, unsigned int *areslen, ssexec_t *info, uint32_t flag) ; extern int graph_compute_dependencies(graph_t *g, char const *vertex, char const *edge, uint8_t requiredby) ; diff --git a/src/lib66/graph/graph_build_g.c b/src/lib66/graph/graph_build_g.c deleted file mode 100644 index 4d98f929fef38c46ba7b8f2ea3329043022e16fa..0000000000000000000000000000000000000000 --- a/src/lib66/graph/graph_build_g.c +++ /dev/null @@ -1,34 +0,0 @@ -/* - * graph_build_g.c - * - * Copyright (c) 2018-2022 Eric Vidal <eric@obarun.org> - * - * All rights reserved. - * - * This file is part of Obarun. It is subject to the license terms in - * the LICENSE file found in the top-level directory of this - * distribution. - * This file may not be copied, modified, propagated, or distributed - * except according to the terms contained in the LICENSE file./ - */ - - -#include <oblibs/log.h> - -#include <66/service.h> -#include <66/resolve.h> -#include <66/graph.h> -#include <66/ssexec.h> - -void graph_build_g(graph_t *graph, resolve_service_t *ares, unsigned int *areslen, ssexec_t *info) -{ - log_flow() ; - - if (data_type == DATA_SERVICE) - - graph_build_service(graph, ares, areslen, info) ; - - else if (data_type == DATA_TREE) - - graph_build_tree(g, info->base.s, E_RESOLVE_TREE_MASTER_CONTENTS) ; -}