diff options
Diffstat (limited to '')
-rw-r--r-- | chmod.c (renamed from core/chmod.c) | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -9,13 +9,17 @@ #include <string.h> #include <errno.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 modes." #define OPERANDS "mode file" -#include "../common/common.h" +#include "common.h" -int main(int argc, char *const argv[]) { +#ifdef FASESBOX +int chmod_main(int argc, char *argv[]) { +#else +int main(int argc, char *argv[]) { +#endif int argument, i = 0; mode_t owner_modes, group_modes, other_modes; char *argv0 = strdup(argv[0]); |