summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/command.h b/src/command.h
index cca2877..87cc749 100644
--- a/src/command.h
+++ b/src/command.h
@@ -1,32 +1,17 @@
#ifndef COMMAND_H
#define COMMAND_H
-#include "util/shared.h"
-#include "util/stack.h"
-#include "util/regex.h"
-
-#include <stdint.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <errno.h>
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
-
#define ARGUMENTS int argc, char** argv
#define NEXT_ARGS argc - 1, &argv[1]
#define COMMAND(name) int name (ARGUMENTS)
-#define COMMAND_EMPTY(name) int name (void)
COMMAND(dd);
COMMAND(cat);
COMMAND(yes);
COMMAND(echo);
COMMAND(print);
-COMMAND_EMPTY(groups);
-COMMAND_EMPTY(user_id);
+COMMAND(groups);
+COMMAND(user_id);
COMMAND(ls);
COMMAND(tail);
COMMAND(head);