aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-18 10:37:39 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-18 10:37:39 +1300
commit044934b707162461823ce32816c329592a5ffd45 (patch)
tree6f30c053ec05262586b1b80bed7c9f65b5a239bc
parentAdd hostname(1) implementation (diff)
downloadtunics-044934b707162461823ce32816c329592a5ffd45.tar.gz
tunics-044934b707162461823ce32816c329592a5ffd45.zip
Remove trailing empty line
-rw-r--r--Makefile1
-rw-r--r--hostname.c1
-rw-r--r--hostname.h1
-rw-r--r--ls.c1
-rw-r--r--pwd.c1
-rw-r--r--sort.c1
-rw-r--r--sort.h1
-rw-r--r--whoami.c1
-rw-r--r--whoami.h1
9 files changed, 0 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index cdb151a..a81a37e 100644
--- a/Makefile
+++ b/Makefile
@@ -23,4 +23,3 @@ whoami : whoami.c whoami.h
clean :
rm -f -- *.o
rm -f hostname ls pwd sort whoami
-
diff --git a/hostname.c b/hostname.c
index 532fc16..ed3b25d 100644
--- a/hostname.c
+++ b/hostname.c
@@ -10,4 +10,3 @@ int main(void) {
fprintf(stdout, "%s\n", name->nodename);
exit(EXIT_SUCCESS);
}
-
diff --git a/hostname.h b/hostname.h
index 4eb0b32..d4b4db3 100644
--- a/hostname.h
+++ b/hostname.h
@@ -6,4 +6,3 @@
#include <sys/utsname.h>
#endif
-
diff --git a/ls.c b/ls.c
index 355da02..fbd05be 100644
--- a/ls.c
+++ b/ls.c
@@ -32,4 +32,3 @@ int main(int argc, char **argv)
free(dirent);
exit(EXIT_SUCCESS);
}
-
diff --git a/pwd.c b/pwd.c
index a9999a1..13aeb06 100644
--- a/pwd.c
+++ b/pwd.c
@@ -10,4 +10,3 @@ int main(void)
fprintf(stdout, "%s\n", buf);
exit(EXIT_SUCCESS);
}
-
diff --git a/sort.c b/sort.c
index a389f47..cc567fa 100644
--- a/sort.c
+++ b/sort.c
@@ -82,4 +82,3 @@ void vec_free(vec *v) {
static int qsort_strcmp(const void *p1, const void *p2) {
return strcmp(* (char * const *) p1, * (char * const *) p2);
}
-
diff --git a/sort.h b/sort.h
index 3e56b46..264e905 100644
--- a/sort.h
+++ b/sort.h
@@ -20,4 +20,3 @@ void vec_free(vec *v);
static int qsort_strcmp(const void *p1, const void *p2);
#endif
-
diff --git a/whoami.c b/whoami.c
index b692abe..8b3484b 100644
--- a/whoami.c
+++ b/whoami.c
@@ -11,4 +11,3 @@ int main(void) {
exit(EXIT_SUCCESS);
}
-
diff --git a/whoami.h b/whoami.h
index f61a04c..427232a 100644
--- a/whoami.h
+++ b/whoami.h
@@ -7,4 +7,3 @@
#include <sys/types.h>
#endif
-