summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-04-27 19:41:32 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-04-27 19:41:32 -0400
commitc531ad32bf5670bc3f66f1d3c36b4e93a2b380c9 (patch)
treedff3054500b2e932dbe5550828a387c0f2047671 /src/command.h
parentremove tabs (diff)
downloadlazysphere-c531ad32bf5670bc3f66f1d3c36b4e93a2b380c9.tar.gz
lazysphere-c531ad32bf5670bc3f66f1d3c36b4e93a2b380c9.tar.bz2
lazysphere-c531ad32bf5670bc3f66f1d3c36b4e93a2b380c9.zip
add groups and id commands
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command.h b/src/command.h
index d1161c4..354f2ee 100644
--- a/src/command.h
+++ b/src/command.h
@@ -7,9 +7,12 @@
#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);