Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
glitch fix in host.h, and remove host_t cruft from misc.h
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 16 May 2006 08:54:11 +0000 (08:54 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 16 May 2006 08:54:11 +0000 (08:54 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2212 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/host.h
include/xbt/misc.h

index 97ee335..f210a36 100644 (file)
@@ -20,7 +20,7 @@ typedef struct {
    int port;
 } s_xbt_host_t, *xbt_host_t;
 
    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);
 
 void xbt_host_free(xbt_host_t host);
 void xbt_host_free_voidp(void *d);
 
index 2889ea7..4c01db9 100644 (file)
 /* End of cruft for C++ */
 
 SG_BEGIN_DECL()
 /* 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);
 
 
 const char *xbt_procname(void);