aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/mkdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/mkdir.c')
-rw-r--r--toys/posix/mkdir.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/toys/posix/mkdir.c b/toys/posix/mkdir.c
index c3bbb636..e4e591d7 100644
--- a/toys/posix/mkdir.c
+++ b/toys/posix/mkdir.c
@@ -20,14 +20,13 @@ config MKDIR
-p make parent directories as needed.
*/
+#define FOR_mkdir
#include "toys.h"
-DEFINE_GLOBALS(
+GLOBALS(
long mode;
)
-#define TT this.mkdir
-
static int do_mkdir(char *dir)
{
struct stat buf;