|
From: | Lorenzo Bettini |
Subject: | Re: [help-gengetopt] warning: function declaration isn't a prototype |
Date: | Tue, 07 Aug 2007 19:13:46 +0200 |
User-agent: | Mozilla-Thunderbird 2.0.0.4 (X11/20070622) |
Andre Noll wrote:
Hi all, with the latest gengetopt-2.21 I get tons of these warnings which are due to me compiling with -Wstrict-prototypes and foo_cmdline_parser_params_init() missing a void in both the declaration and the definition. Trivial fix below.
Thanks Andre!I always forget about using void (I never used it in my programs for parameters).
I'll apply the fix cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
[Prev in Thread] | Current Thread | [Next in Thread] |