Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Licensed under GPLv2 or later, see file License in this tarball for details.
*/
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE 1 /* get strnlen() */
-#endif
-
#include "e2fsck.h" /*Put all of our defines here to clean things up*/
#define _(x) x
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-/* for getline() [GNUism]
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE 1
-#endif
-*/
#include "libbb.h"
/* This function reads an entire line from a text file, up to a newline
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#undef _GNU_SOURCE
-#define _GNU_SOURCE
#include "libbb.h"
#include "modutils.h"
#include <sys/utsname.h> /* uname() */
#define JOBS ENABLE_ASH_JOB_CONTROL
-#if DEBUG
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-# endif
-#endif
-
#include "busybox.h" /* for applet_names */
#include <paths.h>
#include <setjmp.h>
#include <sys/utsname.h>
#include "rtc_.h"
-#if ENABLE_FEATURE_HWCLOCK_LONG_OPTIONS
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-# endif
-#endif
-
-
/* diff code is disabled: it's not sys/hw clock diff, it's some useless
* "time between hwclock was started and we saw CMOS tick" quantity.
* It's useless since hwclock is started at a random moment,