summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/Makefile2
-rw-r--r--mdk-stage1/ppp/pppd/ipcp.c2
-rw-r--r--mdk-stage1/probing.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 2da2e1d78..98fb79375 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -51,7 +51,7 @@ COMPILE = $(CC) $(DEFS) $(CFLAGS)
#- stage1 "loader"
ifeq (i386, $(ARCH))
INITSRC = minilibc.c init.c
-INIT_DEFS = -DINIT_HEADERS=\"minilibc.h\"
+INIT_DEFS = -DINIT_HEADERS=\"minilibc.h\" -fno-builtin
else
INITSRC = init.c
ifeq (ia64, $(ARCH))
diff --git a/mdk-stage1/ppp/pppd/ipcp.c b/mdk-stage1/ppp/pppd/ipcp.c
index ac5bd39fa..3f64357ed 100644
--- a/mdk-stage1/ppp/pppd/ipcp.c
+++ b/mdk-stage1/ppp/pppd/ipcp.c
@@ -2012,7 +2012,7 @@ ipcp_printpkt(p, plen, printer, arg)
*/
#define IP_HDRLEN 20 /* bytes */
#define IP_OFFMASK 0x1fff
-#define IPPROTO_TCP 6
+// #define IPPROTO_TCP 6
#define TCP_HDRLEN 20
#define TH_FIN 0x01
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index fafb3be93..6dd678ce0 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -210,7 +210,7 @@ static void probe_that_type(enum driver_type type)
}
}
fclose(f);
- end_pci_probe:
+ end_pci_probe:;
}
@@ -284,7 +284,7 @@ static void probe_that_type(enum driver_type type)
}
}
fclose(f);
- end_usb_probe:
+ end_usb_probe:;
}
#endif
}
@@ -498,7 +498,7 @@ static void find_media(void)
start = next;
}
- end_scsi:
+ end_scsi:;
}
/* ----------------------------------------------- */