aboutsummaryrefslogtreecommitdiff
path: root/libbb/wfopen_input.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/wfopen_input.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/wfopen_input.c')
-rw-r--r--libbb/wfopen_input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/wfopen_input.c b/libbb/wfopen_input.c
index d8b1c4a36..872464248 100644
--- a/libbb/wfopen_input.c
+++ b/libbb/wfopen_input.c
@@ -6,14 +6,13 @@
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 applets need to open a file for reading, where the filename 11/* A number of applets need to open a file for reading, where the filename
11 * is a command line arg. Since often that arg is '-' (meaning stdin), 12 * is a command line arg. Since often that arg is '-' (meaning stdin),
12 * we avoid testing everywhere by consolidating things in this routine. 13 * we avoid testing everywhere by consolidating things in this routine.
13 */ 14 */
14 15
15#include "libbb.h"
16
17FILE* FAST_FUNC fopen_or_warn_stdin(const char *filename) 16FILE* FAST_FUNC fopen_or_warn_stdin(const char *filename)
18{ 17{
19 FILE *fp = stdin; 18 FILE *fp = stdin;