Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da04c52a authored by Dima Zavin's avatar Dima Zavin
Browse files

init/cutils: move list utility code to cutils from init



Change-Id: I357ceee813700297d8343159f22a07659e768d41
Signed-off-by: default avatarDima Zavin <dima@android.com>
parent 8f91282e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -14,8 +14,8 @@
 * limitations under the License.
 * limitations under the License.
 */
 */


#ifndef _INIT_LIST_H_
#ifndef _CUTILS_LIST_H_
#define _INIT_LIST_H_
#define _CUTILS_LIST_H_


#include <stddef.h>
#include <stddef.h>


+1 −1
Original line number Original line Diff line number Diff line
@@ -34,12 +34,12 @@
#include <asm/page.h>
#include <asm/page.h>
#include <sys/wait.h>
#include <sys/wait.h>


#include <cutils/list.h>
#include <cutils/uevent.h>
#include <cutils/uevent.h>


#include "devices.h"
#include "devices.h"
#include "util.h"
#include "util.h"
#include "log.h"
#include "log.h"
#include "list.h"


#define SYSFS_PREFIX    "/sys"
#define SYSFS_PREFIX    "/sys"
#define FIRMWARE_DIR1   "/etc/firmware"
#define FIRMWARE_DIR1   "/etc/firmware"
+1 −1
Original line number Original line Diff line number Diff line
@@ -33,6 +33,7 @@
#include <sys/un.h>
#include <sys/un.h>
#include <libgen.h>
#include <libgen.h>


#include <cutils/list.h>
#include <cutils/sockets.h>
#include <cutils/sockets.h>
#include <cutils/iosched_policy.h>
#include <cutils/iosched_policy.h>
#include <private/android_filesystem_config.h>
#include <private/android_filesystem_config.h>
@@ -42,7 +43,6 @@


#include "devices.h"
#include "devices.h"
#include "init.h"
#include "init.h"
#include "list.h"
#include "log.h"
#include "log.h"
#include "property_service.h"
#include "property_service.h"
#include "bootchart.h"
#include "bootchart.h"
+1 −1
Original line number Original line Diff line number Diff line
@@ -17,7 +17,7 @@
#ifndef _INIT_INIT_H
#ifndef _INIT_INIT_H
#define _INIT_INIT_H
#define _INIT_INIT_H


#include "list.h"
#include <cutils/list.h>


#include <sys/stat.h>
#include <sys/stat.h>


+1 −1
Original line number Original line Diff line number Diff line
@@ -27,11 +27,11 @@
#include "parser.h"
#include "parser.h"
#include "init_parser.h"
#include "init_parser.h"
#include "log.h"
#include "log.h"
#include "list.h"
#include "property_service.h"
#include "property_service.h"
#include "util.h"
#include "util.h"


#include <cutils/iosched_policy.h>
#include <cutils/iosched_policy.h>
#include <cutils/list.h>


#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
#include <sys/_system_properties.h>
#include <sys/_system_properties.h>
Loading