remove a few superfluous includes
This commit is contained in:
parent
61befda93b
commit
9e0a7c9c41
@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include <utmp.h>
|
#include <utmp.h>
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
static void idle_string(char *str6, time_t t)
|
static void idle_string(char *str6, time_t t)
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
*/
|
*/
|
||||||
#ifdef LOGIN_PROCESS /* defined in System V utmp.h */
|
#ifdef LOGIN_PROCESS /* defined in System V utmp.h */
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#include <time.h>
|
|
||||||
#else /* if !sysV style, wtmp/utmp code is off */
|
#else /* if !sysV style, wtmp/utmp code is off */
|
||||||
#undef ENABLE_FEATURE_UTMP
|
#undef ENABLE_FEATURE_UTMP
|
||||||
#undef ENABLE_FEATURE_WTMP
|
#undef ENABLE_FEATURE_WTMP
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#define __MODUTILS_H__
|
#define __MODUTILS_H__
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#if __GNUC_PREREQ(4,1)
|
#if __GNUC_PREREQ(4,1)
|
||||||
# pragma GCC visibility push(hidden)
|
# pragma GCC visibility push(hidden)
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
// totalram=2107416576, freeram=211525632, sharedram=0, bufferram=157204480}
|
// totalram=2107416576, freeram=211525632, sharedram=0, bufferram=157204480}
|
||||||
// totalswap=134209536, freeswap=134209536, procs=157})
|
// totalswap=134209536, freeswap=134209536, procs=157})
|
||||||
|
|
||||||
#include <time.h>
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
|
||||||
typedef unsigned long long ullong;
|
typedef unsigned long long ullong;
|
||||||
|
Loading…
Reference in New Issue
Block a user