aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-09 00:26:10 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-09 00:26:10 +0100
commit10544a841002a9b4075ee267effcd330a0c705ca (patch)
tree25ce126699236b65c40112b4ce920e79e84f0f32
parentfb6e689554a03dd3c22783a641880ee4c2bed8e7 (diff)
downloadbusybox-w32-10544a841002a9b4075ee267effcd330a0c705ca.tar.gz
busybox-w32-10544a841002a9b4075ee267effcd330a0c705ca.tar.bz2
busybox-w32-10544a841002a9b4075ee267effcd330a0c705ca.zip
compat and warning fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--coreutils/fsync.c3
-rw-r--r--miscutils/fbsplash.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/coreutils/fsync.c b/coreutils/fsync.c
index f00803c5b..53900f8d2 100644
--- a/coreutils/fsync.c
+++ b/coreutils/fsync.c
@@ -7,6 +7,9 @@
7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
8 */ 8 */
9#include "libbb.h" 9#include "libbb.h"
10#ifndef O_NOATIME
11# define O_NOATIME 0
12#endif
10 13
11/* This is a NOFORK applet. Be very careful! */ 14/* This is a NOFORK applet. Be very careful! */
12 15
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c
index 4560bb2e9..3bf16abc8 100644
--- a/miscutils/fbsplash.c
+++ b/miscutils/fbsplash.c
@@ -301,7 +301,7 @@ static void fb_drawimage(void)
301 */ 301 */
302static void init(const char *cfg_filename) 302static void init(const char *cfg_filename)
303{ 303{
304 static const char const param_names[] ALIGN1 = 304 static const char param_names[] ALIGN1 =
305 "BAR_WIDTH\0" "BAR_HEIGHT\0" 305 "BAR_WIDTH\0" "BAR_HEIGHT\0"
306 "BAR_LEFT\0" "BAR_TOP\0" 306 "BAR_LEFT\0" "BAR_TOP\0"
307 "BAR_R\0" "BAR_G\0" "BAR_B\0" 307 "BAR_R\0" "BAR_G\0" "BAR_B\0"