aboutsummaryrefslogtreecommitdiff
path: root/chown.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--chown.c (renamed from core/chown.c)12
1 files changed, 8 insertions, 4 deletions
diff --git a/core/chown.c b/chown.c
index eea389a..8eb2c1b 100644
--- a/core/chown.c
+++ b/chown.c
@@ -9,13 +9,17 @@
#include <stdlib.h>
#include <string.h>
-#define REQ_PRINT_USAGE /* Require print_usage() from ../common/common.h */
-#define REQ_ERRPRINT /* Require errprint() from ../common/common.h */
+#define REQ_PRINT_USAGE /* Require print_usage() from common.h */
+#define REQ_ERRPRINT /* Require errprint() from common.h */
#define DESCRIPTION "Change file ownership."
#define OPERANDS "owner file"
-#include "../common/common.h"
+#include "common.h"
-int main(int argc, char *const argv[]) {
+#ifdef FASESBOX
+int chown_main(int argc, char *argv[]) {
+#else
+int main(int argc, char *argv[]) {
+#endif
struct passwd *user;
if (argc == 1) {
print_usage(argv[0], DESCRIPTION, OPERANDS, VERSION);