Displaying 2 results from an estimated 2 matches for "f2ac35f".
Did you mean:
  42dc35f
  
2010 Nov 20
1
[PATCH 1/2] cat cleanup ugly ifdefery
no point in carrying those ifdefs along,
just cleanup the code that seems either BSD specific or
can't work on klibc.
Signed-off-by: maximilian attems <max at stro.at>
---
 usr/utils/cat.c |   22 +---------------------
 1 files changed, 1 insertions(+), 21 deletions(-)
diff --git a/usr/utils/cat.c b/usr/utils/cat.c
index 1108d2e..7465148 100644
--- a/usr/utils/cat.c
+++
2010 Nov 20
3
[PATCH 1/4] utils: cleanup unused includes
...;
+#include <stdarg.h>
 #include <string.h>
 
 #include "loop.h"
@@ -349,9 +350,6 @@ int del_loop (const char *device)
 }
 
 
-#include <getopt.h>
-#include <stdarg.h>
-
 int verbose = 0;
 char *progname;
 
diff --git a/usr/utils/mkfifo.c b/usr/utils/mkfifo.c
index f2ac35f..5a758b2 100644
--- a/usr/utils/mkfifo.c
+++ b/usr/utils/mkfifo.c
@@ -1,6 +1,5 @@
 #include <sys/stat.h>
 #include <sys/types.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <signal.h>
 #include <stdio.h>
diff --git a/usr/utils/nuke.c b/usr/utils/nuke.c
inde...