From: mquinson Date: Wed, 4 Jun 2008 16:15:44 +0000 (+0000) Subject: kill dead code X-Git-Tag: v3.3~428 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5fecf74ce104327729eb6ae5e950e57adb287c27 kill dead code git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5531 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/amok/base.c b/src/amok/base.c deleted file mode 100644 index 5c80c5dc4e..0000000000 --- a/src/amok/base.c +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ */ - -/* base - several addons to do specific stuff not in GRAS itself */ - -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#include "gras.h" -#include "amok/base.h" - -XBT_LOG_NEW_SUBCATEGORY(amok,XBT_LOG_ROOT_CAT,"All AMOK categories"); -XBT_LOG_EXTERNAL_CATEGORY(amok_bw); -XBT_LOG_EXTERNAL_CATEGORY(amok_bw_sat); -XBT_LOG_EXTERNAL_CATEGORY(amok_pm); - -void amok_base_init(void) { - gras_datadesc_type_t host_desc; - - /* Connect our log channels: that must be done manually under windows */ - XBT_LOG_CONNECT(amok_bw, amok); - XBT_LOG_CONNECT(amok_bw_sat, amok_bw); - XBT_LOG_CONNECT(amok_pm, amok); - - /* Build the datatype descriptions */ - host_desc = gras_datadesc_struct("s_xbt_host_t"); - gras_datadesc_struct_append(host_desc,"name",gras_datadesc_by_name("string")); - gras_datadesc_struct_append(host_desc,"exp_size",gras_datadesc_by_name("int")); - gras_datadesc_struct_close(host_desc); - host_desc = gras_datadesc_ref("xbt_host_t",host_desc); -} - -void amok_base_exit(void) { - /* FIXME: No real module mechanism in GRAS so far, nothing to do. */ -} -