[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] Fix some main() return types
From: |
Marko Lindqvist |
Subject: |
[Patch] Fix some main() return types |
Date: |
Tue, 17 Jun 2008 22:14:11 +0300 |
What is your policy about compiler warnings from successfully
completing autoconf tests? Attached patch fixes one such warning,
caused by having main() returning char instead of int.
A couple of c.m4 macros declare function with return type char, and
then return same return value from main(). Attached patch translates
character from function into int 0 or 1 to be returned from main().
- ML
autoconf_mainreturn.diff
Description: Text Data
- [Patch] Fix some main() return types,
Marko Lindqvist <=