Displaying 2 results from an estimated 2 matches for "1a47fa9".
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
...tils/dmesg.c
index 61e047e..1960713 100644
--- a/usr/utils/dmesg.c
+++ b/usr/utils/dmesg.c
@@ -1,5 +1,4 @@
#include <unistd.h>
-#include <errno.h>
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
diff --git a/usr/utils/losetup.c b/usr/utils/losetup.c
index 1a47fa9..59030d7 100644
--- a/usr/utils/losetup.c
+++ b/usr/utils/losetup.c
@@ -17,6 +17,7 @@
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/sysmacros.h>
+#include <stdarg.h>
#include <string.h>
#include "loop.h"
@@ -349,9 +350,6 @@ int del_loop (co...