+2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/copydir.c: Added prototype of readlink_malloc(), and
+ readlink_malloc() changed to static.
+
2009-05-10 Nicolas François <nicolas.francois@centraliens.net>
* src/su.c: Avoid redeclaration of root_pw.
const struct stat *statp, const struct timeval mt[],
long int uid, long int gid);
#ifdef S_IFLNK
+static char *readlink_malloc (const char *filename);
static int copy_symlink (const char *src, const char *dst,
const struct stat *statp, const struct timeval mt[],
long int uid, long int gid);
* return NULL on error.
* The return string shall be freed by the caller.
*/
-char *readlink_malloc (const char *filename)
+static char *readlink_malloc (const char *filename)
{
size_t size = 1024;