diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-22 13:06:07 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-22 13:06:07 +0000 |
commit | a0d4ac60dc373d2f18d9861087e0054d4e8f865d (patch) | |
tree | 92718cc3604293f2f1cbe63945bc49eb134427bf /mdk-stage1/minilibc.h | |
parent | d256d73891a4806211f9de9007ea0b465cead03b (diff) | |
download | drakx-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar drakx-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.gz drakx-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.bz2 drakx-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.xz drakx-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.zip |
have "init" compiled against dietlibc (rather than glibc) on non-Intel arch's
Diffstat (limited to 'mdk-stage1/minilibc.h')
-rw-r--r-- | mdk-stage1/minilibc.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mdk-stage1/minilibc.h b/mdk-stage1/minilibc.h index f3ff9c758..e717d4255 100644 --- a/mdk-stage1/minilibc.h +++ b/mdk-stage1/minilibc.h @@ -109,8 +109,6 @@ static inline _syscall0(int,fork) #endif static inline _syscall0(pid_t,setsid) static inline _syscall3(int,syslog,int, type, char *, buf, int, len); -#define LINUX_REBOOT_CMD_RESTART 0x01234567 -#define reboot(x) reboot(0xfee1dead, 672274793, x) #else static inline _syscall5(int,_newselect,int,n,fd_set *,rd,fd_set *,wr,fd_set *,ex,struct timeval *,timeval); static inline _syscall3(int,write,int,fd,const char *,buf,unsigned long,count) @@ -139,8 +137,8 @@ char * strchr(char * str, int ch); char * strstr(char *haystack, char *needle); char * strncpy(char * dst, const char * src, int len); -void print_str(int fd, char * string); -void print_int(int fd, int i); +void print_str_init(int fd, char * string); +void print_int_init(int fd, int i); /* Minimum printf which handles only characters, %d's and %s's */ void printf(char * fmt, ...); |