#include "xbt/sysdep.h"
#include "xbt/hash.h"
+#include <stdio.h> /* sprintf */
struct s_xbt_sha_ {
unsigned int hash[5];
/** @brief constructor */
xbt_sha_t xbt_sha_new(void)
{
- xbt_sha_t sha;
-
- sha = xbt_new(s_xbt_sha_t, 1);
+ xbt_sha_t sha = xbt_new(s_xbt_sha_t, 1);
xbt_sha_reset(sha);
-
return sha;
}
/* ************* */
#ifdef SIMGRID_TEST
#include "xbt/hash.h"
-#include "portable.h" /* hexa_str */
+#include "src/portable.h" /* hexa_str */
static char *mycmp(const char *p1, const char *p2, size_t n)
{