summaryrefslogtreecommitdiff
path: root/command/tail.c
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-05-06 00:39:44 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-05-06 00:39:44 -0400
commitd8f2c10b7108fff6b7e437291093a1cadc15ab9f (patch)
tree3fc50a19d6fbb9c94a8fe147cd2a6c4ba7f59b8d /command/tail.c
parentansii c (diff)
downloadlazysphere-d8f2c10b7108fff6b7e437291093a1cadc15ab9f.tar.gz
lazysphere-d8f2c10b7108fff6b7e437291093a1cadc15ab9f.tar.bz2
lazysphere-d8f2c10b7108fff6b7e437291093a1cadc15ab9f.zip
refactor
Diffstat (limited to '')
-rw-r--r--command/tail.c (renamed from src/commands/tail.c)7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/commands/tail.c b/command/tail.c
index 07b3d2b..8137eca 100644
--- a/src/commands/tail.c
+++ b/command/tail.c
@@ -1,4 +1,9 @@
-#include "../command.h"
+#include "command.h"
+#include "lslib.h"
+
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
static struct {
bool lines;