]> err.no Git - backuppcd/commitdiff
Get pull chown from gnulib, if needed
authorTollef Fog Heen <tfheen@err.no>
Thu, 17 Jul 2008 18:22:29 +0000 (20:22 +0200)
committerTollef Fog Heen <tfheen@err.no>
Thu, 17 Jul 2008 18:22:29 +0000 (20:22 +0200)
chown.c [deleted file]
chown.h [deleted file]

diff --git a/chown.c b/chown.c
deleted file mode 100644 (file)
index 461767e..0000000
--- a/chown.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "chown.h"
-
-#ifndef HAVE_CHOWN
-
-int chown(const char *path, uint32_t owner, uint32_t group) {
-       return(-1);
-}
-
-#endif
diff --git a/chown.h b/chown.h
deleted file mode 100644 (file)
index 5eea4d4..0000000
--- a/chown.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "compat.h"
-#include "backuppcd.h"
-#include "backuppcd-common.h"
-
-#ifndef HAVE_CHOWN
-#  ifndef _RSK_CHOWN_H
-#  define _RSK_CHOWN_H 1
-
-int chown(const char *path, uint32_t owner, uint32_t group);
-
-#  endif /* _RSK_CHOWN_H */
-#endif /* HAVE_CHOWN */