* libmisc/copydir.c: Added prototype of readlink_malloc(), and
readlink_malloc() changed to static.
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
			
		||||
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.
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ static int copy_dir (const char *src, const char *dst,
 | 
			
		||||
                     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);
 | 
			
		||||
@@ -428,7 +429,7 @@ static int copy_dir (const char *src, const char *dst,
 | 
			
		||||
 * 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;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user