summaryrefslogtreecommitdiffstats
path: root/init/init.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-04-13 20:35:46 -0700
committerColin Cross <ccross@android.com>2010-04-13 22:52:10 -0700
commit3899e9fc01cf608f19f716749c54cc5c4d17e766 (patch)
tree5256f744a9732e7776e8f1fa85322ad0403839a0 /init/init.h
parent9c5366ba55b1553b2d66f48e3d14fbd274a2944d (diff)
downloadsystem_core-3899e9fc01cf608f19f716749c54cc5c4d17e766.zip
system_core-3899e9fc01cf608f19f716749c54cc5c4d17e766.tar.gz
system_core-3899e9fc01cf608f19f716749c54cc5c4d17e766.tar.bz2
init: Move prototypes for util.c into util.h
Change-Id: I46a91849ce5297eb2597dd6134412f817564ec24
Diffstat (limited to 'init/init.h')
-rw-r--r--init/init.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/init/init.h b/init/init.h
index 4d0593d..1ebdbac 100644
--- a/init/init.h
+++ b/init/init.h
@@ -17,16 +17,8 @@
#ifndef _INIT_INIT_H
#define _INIT_INIT_H
-int mtd_name_to_number(const char *name);
-
void handle_control_message(const char *msg, const char *arg);
-int create_socket(const char *name, int type, mode_t perm,
- uid_t uid, gid_t gid);
-
-void *read_file(const char *fn, unsigned *_sz);
-time_t gettime(void);
-
void log_init(void);
void log_set_level(int level);
void log_close(void);
@@ -40,8 +32,6 @@ void log_write(int level, const char *fmt, ...)
#define LOG_DEFAULT_LEVEL 3 /* messages <= this level are logged */
#define LOG_UEVENTS 0 /* log uevent messages if 1. verbose */
-unsigned int decode_uid(const char *s);
-
struct listnode
{
struct listnode *next;