Header cleanup on two more networking files (move libbb.h to the top and
[oweals/busybox.git] / coreutils / tee.c
index ba2e10f90d166965f2a869b2750d6b024ae36eae..1160fc9dd51a39a8ea2390e3afd91160954b32a6 100644 (file)
@@ -39,7 +39,7 @@ int tee_main(int argc, char **argv)
        int retval = EXIT_SUCCESS;
 #ifdef CONFIG_FEATURE_TEE_USE_BLOCK_IO
        ssize_t c;
-       RESERVE_CONFIG_BUFFER(buf, BUFSIZ);
+# define buf bb_common_bufsiz1
 #else
        int c;
 #endif
@@ -88,10 +88,6 @@ int tee_main(int argc, char **argv)
                retval = EXIT_FAILURE;
        }
 
-#ifdef CONFIG_FEATURE_CLEAN_UP
-       RELEASE_CONFIG_BUFFER(buf);
-#endif
-
 #else
        setvbuf(stdout, NULL, _IONBF, 0);
        while ((c = getchar()) != EOF) {