Module: sems
Branch: master
Commit: fdc97d667d69469c2d4ff328b0bd681c2ee940a7
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=fdc97d667d69469c2d4ff328b0bd681c2ee940a7

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Thu Feb 24 14:50:16 2011 +0100

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 fc9be09..5d29ff7 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 2f55166..1185daf 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");
 }

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to