From ebb14529f1b65a2bcb035acccd4670004c7e353c Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 16 May 2006 08:54:11 +0000 Subject: [PATCH] glitch fix in host.h, and remove host_t cruft from misc.h git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2212 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/host.h | 2 +- include/xbt/misc.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/include/xbt/host.h b/include/xbt/host.h index 97ee335e7c..f210a36856 100644 --- a/include/xbt/host.h +++ b/include/xbt/host.h @@ -20,7 +20,7 @@ typedef struct { int port; } s_xbt_host_t, *xbt_host_t; -xbt_host_t xbt_host_new(char *name, int port); +xbt_host_t xbt_host_new(const char *name, int port); void xbt_host_free(xbt_host_t host); void xbt_host_free_voidp(void *d); diff --git a/include/xbt/misc.h b/include/xbt/misc.h index 2889ea78c6..4c01db9087 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -78,11 +78,6 @@ /* End of cruft for C++ */ SG_BEGIN_DECL() -/* Dunno where to place this: needed by config and amok */ -typedef struct { - char *name; - int port; -} s_xbt_host_t, *xbt_host_t; const char *xbt_procname(void); -- 2.20.1