summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-11-20 11:18:52 +0000
committerDiego Biurrun <diego@biurrun.de>2007-11-20 11:18:52 +0000
commite5af4a113b43e6bce9191d1d85790ad65eeddf3d (patch)
treede86ad05c8b2e60ffdd4e8d0e3d724520c81d450 /configure
parentdb817cf35a4ece732f7f6b789516f74a4c65ff24 (diff)
main() --> main(void)
Originally committed as revision 11069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 782fc81741..af4cd6436d 100755
--- a/configure
+++ b/configure
@@ -442,7 +442,7 @@ EOF
check_ldflags(){
log check_ldflags "$@"
check_ld "$@" <<EOF && add_ldflags "$@"
-int main(){
+int main(void){
return 0;
}
EOF
@@ -467,7 +467,7 @@ check_func(){
disable $func
check_ld "$@" <<EOF && enable $func
extern int $func();
-int main(){
+int main(void){
$func();
}
EOF
@@ -486,7 +486,7 @@ check_func2(){
done
check_ld "$@" <<EOF && enable $func
$incs
-int main(){
+int main(void){
(void) $func;
return 0;
}
@@ -535,7 +535,7 @@ check_exec_crash(){
static void sighandler(int sig){
raise(SIGTERM);
}
-int main(){
+int main(void){
signal(SIGILL, sighandler);
signal(SIGFPE, sighandler);
signal(SIGSEGV, sighandler);
@@ -1391,7 +1391,7 @@ rm $TMPE
# compiler sanity check
check_exec <<EOF
-int main(){
+int main(void){
return 0;
}
EOF