aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:25:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:25:17 +0000
commitddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 (patch)
treef4f2aa58fa669aed6e2c50bb7aa648a79ec1873d /libbb/xfuncs.c
parentf0ed376eda5d5c25d270e5100a881fb2d801bee6 (diff)
downloadbusybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.gz
busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.bz2
busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.zip
rename functions to more understandable names
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index c5e18c312..1144a67c6 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -341,6 +341,7 @@ char *xasprintf(const char *format, ...)
341// close that file. 341// close that file.
342void xprint_and_close_file(FILE *file) 342void xprint_and_close_file(FILE *file)
343{ 343{
344 fflush(stdout);
344 // copyfd outputs error messages for us. 345 // copyfd outputs error messages for us.
345 if (bb_copyfd_eof(fileno(file), 1) == -1) 346 if (bb_copyfd_eof(fileno(file), 1) == -1)
346 exit(xfunc_error_retval); 347 exit(xfunc_error_retval);