Re: Various small patches (Zend, TSRM...)
| From: | Sascha Schumann | Date: | Tue, 05 Dec 2000 10:16:15 +0000 |
| Subject: | Re: Various small patches (Zend, TSRM...) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40097@lists.php.net to get a copy of this message | ||
On Tue, 5 Dec 2000, Zeev Suraski wrote:
> At 10:59 5/12/2000, Sascha Schumann wrote:
> >On Tue, 5 Dec 2000, Andi Gutmans wrote:
> >
> > > According to the ANSI C standard are these void's needed it?
> >
> > That is one of the most prominent changes from K&R to ANSI C..
>
> Hmm, the change being what, they weren't required in K&R and they are in
> ANSI C? Nice to see the committees are advancing backwards...
I disagree. Requiring functions to be fully prototyped does
make sense for type promotion. In order to distinguish
between old K&R prototypes and ISO C-conforming prototypes,
you need to write void.
- Sascha