[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Usage of __P vs PARAMS in histfile.c
From: |
Mike Frysinger |
Subject: |
Re: Usage of __P vs PARAMS in histfile.c |
Date: |
Wed, 8 Apr 2015 20:47:25 -0400 |
On 08 Apr 2015 14:13, Chet Ramey wrote:
> On 4/8/15 11:25 AM, Evan Gates wrote:
> > I tried compiling bash with musl-gcc and failed due to the __P macros
> > in histfile.c
> >
> > While digging around it appears that __P is defined in stdc.h, but
> > histfile.c indirectly includes rlstdc.h istead. rlstdc.h defines an
> > identical macro with the name PARAMS instead of __P
>
> Yes, you're right. Readline source files need to use PARAMS; bash source
> files use __P (history -- don't ask).
do you still support such old systems that require this pre-ANSI prototypes ?
pretty much all other GNU projects have dropped support for them.
-mike
signature.asc
Description: Digital signature