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
In my extraordinarily limited testing the switch from __P to PARAMS
seems to work. That being said I'm not sure why the usage of __P
worked with gcc but not musl-gcc yet, maybe someone more familiar with
the code could pitch in and let me know if I've done something wrong.
I've attached the patch against the devel branch HEAD.
-emg