diff options
Diffstat (limited to 'libbb/fflush_stdout_and_exit.c')
-rw-r--r-- | libbb/fflush_stdout_and_exit.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libbb/fflush_stdout_and_exit.c b/libbb/fflush_stdout_and_exit.c index 6df8dde13..456ce9513 100644 --- a/libbb/fflush_stdout_and_exit.c +++ b/libbb/fflush_stdout_and_exit.c | |||
@@ -11,11 +11,9 @@ | |||
11 | * in an error state. | 11 | * in an error state. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <stdio.h> | 14 | #include "libbb.h" |
15 | #include <stdlib.h> | ||
16 | #include <libbb.h> | ||
17 | 15 | ||
18 | void bb_fflush_stdout_and_exit(int retval) | 16 | void fflush_stdout_and_exit(int retval) |
19 | { | 17 | { |
20 | if (fflush(stdout)) { | 18 | if (fflush(stdout)) { |
21 | retval = xfunc_error_retval; | 19 | retval = xfunc_error_retval; |