aboutsummaryrefslogtreecommitdiff
path: root/libbb/fclose_nonstdin.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-10-05 14:40:24 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-10-05 14:40:24 +0200
commitebe6d9d8758d36e03cf39b6587597c67ab778436 (patch)
tree8f45b962c04005a6c718c583dd59d0ce0323545c /libbb/fclose_nonstdin.c
parent099ef9324e88679e0b26f6f13476583e03f53dee (diff)
downloadbusybox-w32-ebe6d9d8758d36e03cf39b6587597c67ab778436.tar.gz
busybox-w32-ebe6d9d8758d36e03cf39b6587597c67ab778436.tar.bz2
busybox-w32-ebe6d9d8758d36e03cf39b6587597c67ab778436.zip
whitespace and comment format fixes, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/fclose_nonstdin.c')
-rw-r--r--libbb/fclose_nonstdin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libbb/fclose_nonstdin.c b/libbb/fclose_nonstdin.c
index 1b1441347..7d5331063 100644
--- a/libbb/fclose_nonstdin.c
+++ b/libbb/fclose_nonstdin.c
@@ -6,14 +6,12 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9#include "libbb.h"
9 10
10/* A number of standard utilities can accept multiple command line args 11/* A number of standard utilities can accept multiple command line args
11 * of '-' for stdin, according to SUSv3. So we encapsulate the check 12 * of '-' for stdin, according to SUSv3. So we encapsulate the check
12 * here to save a little space. 13 * here to save a little space.
13 */ 14 */
14
15#include "libbb.h"
16
17int FAST_FUNC fclose_if_not_stdin(FILE *f) 15int FAST_FUNC fclose_if_not_stdin(FILE *f)
18{ 16{
19 /* Some more paranoid applets want ferror() check too */ 17 /* Some more paranoid applets want ferror() check too */