*
* \sa para_open(), para_write().
*/
-int para_write_file(const char *filename, const void *buf, size_t size)
+static int write_file(const char *filename, const void *buf, size_t size)
{
int ret, fd;
assert(offset = size);
filename = index_filename(t->desc);
if (filename)
- ret = para_write_file(filename, buf, size);
+ ret = write_file(filename, buf, size);
else
ret = -ERRNO_TO_ERROR(ENOMEM);
free(buf);
filename = disk_storage_path(t, col_num, ds_name);
if (!filename)
return -ERRNO_TO_ERROR(ENOMEM);
- ret = para_write_file(filename, obj->data, obj->size);
+ ret = write_file(filename, obj->data, obj->size);
free(filename);
return ret;
}