summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/minilibc.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-02-22 13:06:07 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-02-22 13:06:07 +0000
commita0d4ac60dc373d2f18d9861087e0054d4e8f865d (patch)
tree92718cc3604293f2f1cbe63945bc49eb134427bf /mdk-stage1/minilibc.h
parentd256d73891a4806211f9de9007ea0b465cead03b (diff)
downloaddrakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar
drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.gz
drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.bz2
drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.xz
drakx-backup-do-not-use-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.h6
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, ...);