aboutsummaryrefslogtreecommitdiff
path: root/touch.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--touch.c (renamed from core/touch.c)6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/touch.c b/touch.c
index a692a27..b47c106 100644
--- a/core/touch.c
+++ b/touch.c
@@ -16,12 +16,16 @@
/* Requirements in common.h */
#define REQ_PRINT_USAGE
#define REQ_ERRPRINT
-#include "../common/common.h"
+#include "common.h"
#define DESCRIPTION "Change file access and modification times."
#define OPERANDS "[-acm] [-t [[CC]YY]MMDDhhmm[.SS]] file..."
+#ifdef FASESBOX
+int touch_main(int argc, char *argv[]) {
+#else
int main(int argc, char *argv[]) {
+#endif
int file, i, argument;
struct timespec times[2];
struct tm time_tm = { 0 }; /* Used by strptime() */