From 67e9a89c03429814926fa2c3603346020cc47f4c Mon Sep 17 00:00:00 2001 From: pjht Date: Wed, 1 May 2019 19:42:46 -0500 Subject: [PATCH] Program does not return --- prog/main.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/prog/main.c b/prog/main.c index e62dedc..37f368c 100644 --- a/prog/main.c +++ b/prog/main.c @@ -1,10 +1,5 @@ #include "../libc/string.h" int main() { - int x=17; - char str[2]; - str[0]='h'; - str[1]='\0'; - char* vga=0xC00B8000; - return x+strlen(str); + for (;;); }