X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=osl_core.h;h=858743aae308c236d242586abdcf6ac50e99ee0e;hb=866bd47be396054850ce51e2aa2b2766c1ae0505;hp=a6342f8e74db1aa5174e0bfea2a6e128de1b8add;hpb=f57b24f2f5b6d8ce5ca0d5ad67b5c086695d8eb2;p=osl.git diff --git a/osl_core.h b/osl_core.h index a6342f8..858743a 100644 --- a/osl_core.h +++ b/osl_core.h @@ -473,23 +473,6 @@ _static_inline_ char *disk_storage_name_of_hash(const struct osl_table *t, HASH_ return strdup(asc); } -/** - * A wrapper for rename(2). - * - * \param old_path The source path. - * \param new_path The destination path. - * - * \return Standard. - * - * \sa rename(2). - */ -_static_inline_ int para_rename(const char *old_path, const char *new_path) -{ - if (rename(old_path, new_path) < 0) - return -ERRNO_TO_ERROR(errno); - return 1; -} - /** * Iterate over each column of an initialized table. *