[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Change main () to main (void) for C/C++
From: |
Eric Blake |
Subject: |
Re: [PATCH] Change main () to main (void) for C/C++ |
Date: |
Thu, 13 Feb 2014 13:04:27 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 01/04/2014 08:50 PM, Vincent Lefevre wrote:
> This patch changes "main ()" to "main (void)" for C/C++.
> See: http://lists.gnu.org/archive/html/bug-autoconf/2014-01/msg00005.html
>
>
> diff --git a/doc/autoconf.texi b/doc/autoconf.texi
> index 6c374c0..09947a6 100644
> --- a/doc/autoconf.texi
> +++ b/doc/autoconf.texi
> @@ -9132,7 +9132,7 @@ on a system with @command{gcc} installed, results in:
>
> const char hw[] = "Hello, World\n";
> int
> -main ()
> +main (void)
Thanks again for doing this, and sorry for the delay. Now pushed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] Change main () to main (void) for C/C++,
Eric Blake <=