aboutsummaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-17 23:17:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-17 23:33:23 +1300
commitacfba0d01678609917934526c11558d1cf814b73 (patch)
treeabf8a38dd5ebaff5c25bd6220ce286b32580f894 /ls.c
parentFree some memory; appease valgrind(1) (diff)
downloadtunics-acfba0d01678609917934526c11558d1cf814b73.tar.gz
tunics-acfba0d01678609917934526c11558d1cf814b73.zip
Move ls includes into a header
Diffstat (limited to 'ls.c')
-rw-r--r--ls.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ls.c b/ls.c
index 251d5fb..d6f7b89 100644
--- a/ls.c
+++ b/ls.c
@@ -1,8 +1,4 @@
-#include <dirent.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <sys/types.h>
+#include "ls.h"
int main(int argc, char **argv)
{