compat and warning fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-02-09 00:26:10 +01:00
parent fb6e689554
commit 10544a8410
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,9 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
#ifndef O_NOATIME
# define O_NOATIME 0
#endif
/* This is a NOFORK applet. Be very careful! */

View File

@ -301,7 +301,7 @@ static void fb_drawimage(void)
*/
static void init(const char *cfg_filename)
{
static const char const param_names[] ALIGN1 =
static const char param_names[] ALIGN1 =
"BAR_WIDTH\0" "BAR_HEIGHT\0"
"BAR_LEFT\0" "BAR_TOP\0"
"BAR_R\0" "BAR_G\0" "BAR_B\0"