X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a4d819602895c5e1fe306dfc0953cc7cfb54a871..fabf70a9d566725d01d925f83fae02ab82a95547:/src/smpi/smpi_f2c.cpp diff --git a/src/smpi/smpi_f2c.cpp b/src/smpi/smpi_f2c.cpp index 1126c873d0..27f8fb45e9 100644 --- a/src/smpi/smpi_f2c.cpp +++ b/src/smpi/smpi_f2c.cpp @@ -1,12 +1,12 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2007-2017. The SimGrid Team. 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 "private.h" -#include +#include "src/smpi/smpi_f2c.hpp" +#include "src/smpi/smpi_process.hpp" +#include namespace simgrid{ namespace smpi{ @@ -31,12 +31,12 @@ int F2C::f2c_id(){ }; char* F2C::get_key(char* key, int id) { - snprintf(key, KEY_SIZE, "%x",id); + std::snprintf(key, KEY_SIZE, "%x",id); return key; } char* F2C::get_key_id(char* key, int id) { - snprintf(key, KEY_SIZE, "%x_%d",id, smpi_process()->index()); + std::snprintf(key, KEY_SIZE, "%x_%d",id, smpi_process()->index()); return key; }