From 14568129889769e374e7a60c0fc4d6b589020fc1 Mon Sep 17 00:00:00 2001 From: Franck LeCodeur Date: Fri, 27 Aug 2021 13:36:15 +0200 Subject: [PATCH] buildtools: Remove build warnings which are caused by missing return type declarations. Change-Id: I3cba648f45e9eb537eb43ee2345c59fc33976dc7 Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4376 Reviewed-by: Adrien Destugues --- jam/jam.c | 2 +- jam/mkjambase.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jam/jam.c b/jam/jam.c index 4dfb4c4a9f..8958c2bbe8 100644 --- a/jam/jam.c +++ b/jam/jam.c @@ -168,7 +168,7 @@ extern char **environ; # endif # endif -main( int argc, char **argv, char **arg_environ ) +int main( int argc, char **argv, char **arg_environ ) { int n; const char *s; diff --git a/jam/mkjambase.c b/jam/mkjambase.c index 26224c977d..eebe3548ed 100644 --- a/jam/mkjambase.c +++ b/jam/mkjambase.c @@ -24,7 +24,7 @@ # include # include -main( int argc, char **argv, char **envp ) +int main( int argc, char **argv, char **envp ) { char buf[ 1024 ]; FILE *fin;