msg_file_priv_t file_priv = MSG_file_priv(fd);
sg_size_t read_size;
- if (file_priv->size == 0.0) /* Nothing to read, return */
- return 0.0;
+ if (file_priv->size == 0) /* Nothing to read, return */
+ return 0;
/* Find the host where the file is physically located and read it */
msg_storage_t storage_src =(msg_storage_t) xbt_lib_get_elm_or_null(storage_lib, file_priv->storageId);
{
msg_file_priv_t file_priv = MSG_file_priv(fd);
- if (size == 0.0) /* Nothing to write, return */
- return 0.0;
+ if (size == 0) /* Nothing to write, return */
+ return 0;
/* Find the host where the file is physically located (remote or local)*/
msg_storage_t storage_src =(msg_storage_t) xbt_lib_get_elm_or_null(storage_lib, file_priv->storageId);
/** \ingroup msg_storage_management
* \brief Returns a dynar containing all the storage elements declared at a given point of time
*/
-xbt_dynar_t MSG_storages_as_dynar(void) {
+xbt_dynar_t MSG_storages_as_dynar() {
xbt_lib_cursor_t cursor;
char *key;
void **data;