summaryrefslogtreecommitdiffstats
path: root/daemon/dir.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-06-10 11:49:42 +0100
committerRichard Jones <rjones@redhat.com>2009-06-10 14:16:47 +0100
commit56bef498f46ac3dd580f4bde3c8f3ed2fe688826 (patch)
tree73bb0d8c5df5ec8c5af905be3283b6beaa2994bc /daemon/dir.c
parent2df2f2854ed2d1f9857ef3c5aaca29810cf3c506 (diff)
downloadlibguestfs-56bef498f46ac3dd580f4bde3c8f3ed2fe688826.tar.gz
libguestfs-56bef498f46ac3dd580f4bde3c8f3ed2fe688826.tar.xz
libguestfs-56bef498f46ac3dd580f4bde3c8f3ed2fe688826.zip
In the daemon, change all const char * parameters to char *.
Diffstat (limited to 'daemon/dir.c')
-rw-r--r--daemon/dir.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/daemon/dir.c b/daemon/dir.c
index 3df6233a..83536ef5 100644
--- a/daemon/dir.c
+++ b/daemon/dir.c
@@ -30,7 +30,7 @@
#include "actions.h"
int
-do_rmdir (const char *path)
+do_rmdir (char *path)
{
int r;
@@ -54,7 +54,7 @@ do_rmdir (const char *path)
* do stupid stuff, who are we to try to stop them?
*/
int
-do_rm_rf (const char *path)
+do_rm_rf (char *path)
{
int r, len;
char *buf, *err;
@@ -92,7 +92,7 @@ do_rm_rf (const char *path)
}
int
-do_mkdir (const char *path)
+do_mkdir (char *path)
{
int r;
@@ -158,7 +158,7 @@ recursive_mkdir (const char *path)
}
int
-do_mkdir_p (const char *path)
+do_mkdir_p (char *path)
{
int r;
@@ -178,7 +178,7 @@ do_mkdir_p (const char *path)
}
int
-do_is_dir (const char *path)
+do_is_dir (char *path)
{
int r;
struct stat buf;