From fdc97d667d69469c2d4ff328b0bd681c2ee940a7 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Thu, 24 Feb 2011 14:50:16 +0100 Subject: [PATCH] fix main default to int --- core/compat/getarch.c | 2 +- core/compat/getos.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/compat/getarch.c b/core/compat/getarch.c index fc9be09f..5d29ff77 100644 --- a/core/compat/getarch.c +++ b/core/compat/getarch.c @@ -34,7 +34,7 @@ #endif -main() +int main() { printf(ARCH "\n"); } diff --git a/core/compat/getos.c b/core/compat/getos.c index 2f551668..1185dafb 100644 --- a/core/compat/getos.c +++ b/core/compat/getos.c @@ -32,7 +32,7 @@ # warning "Could not detect the OS" #endif -main() +int main() { printf(OS "\n"); }