tar: support -T - and -X -
[oweals/busybox.git] / libbb / safe_write.c
index c81f1247fb3429b87156ba34f2f300c9a553e4b7..8f76280164adb69204290653ece5cff9dd5a1284 100644 (file)
@@ -4,17 +4,12 @@
  *
  * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
  *
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
 
-#include <stdio.h>
-#include <errno.h>
-#include <unistd.h>
 #include "libbb.h"
 
-
-
-ssize_t safe_write(int fd, const void *buf, size_t count)
+ssize_t FAST_FUNC safe_write(int fd, const void *buf, size_t count)
 {
        ssize_t n;