In message <[email protected]>, Philip Paeps writes:
> On 2021-01-25 22:47:11 (+0000), Cy Schubert wrote:
> >    ipfilter: Retire pre-standard C support.
> >
> >    All C compilers in 2021 support standard C and architectures that did
> >    not were retired long ago. Simplify by removing now redundant
> >    pre-standard C code.
>
> [...]
>
>
> > #ifndef __P
> >-# ifdef __STDC__
> > #  define   __P(x)  x
> >-# else
> >-#  define   __P(x)  ()
> >-# endif
> >-#endif
>
> You could simplify even further by getting rid of the __P() convention 
> altogether.  All our compilers support prototypes in 2021. :)

Yes, it's in my queue.

ANSI function definitions is in another branch. The last cleanup being 
style(9).


-- 
Cheers,
Cy Schubert <[email protected]>
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
NTP:           <[email protected]>    Web:  https://nwtime.org

        The need of the many outweighs the greed of the few.


_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to