argp: port new 'inline' approach to Sun C 5.12 + Solaris 10
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 22 Dec 2012 23:34:16 +0000 (15:34 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 22 Dec 2012 23:36:00 +0000 (15:36 -0800)
commitb7298256a267742feb89a6dcb68e8513c7d01ddf
treec907a09279909f624275f99c1e4f08b360ade283
parentbaaadca1f6d5a37debf88b2562b57a4589d4eca7
argp: port new 'inline' approach to Sun C 5.12 + Solaris 10

On this platform, we are not optimizing but we are using
the substitute for extern inlines, so compile as if
C99-style extern inline, or a substitute, is available.
* lib/argp-fmtstream.h (argp_fmtstream_set_lmargin)
(__argp_fmtstream_set_lmargin, argp_fmtstream_set_rmargin)
(__argp_fmtstream_set_rmargin, argp_fmtstream_set_wmargin)
(__argp_fmtstream_set_wmargin, argp_fmtstream_point)
(__argp_fmtstream_point) [!_LIBC && !__OPTIMIZE__]:
Declare as ARGP_FS_EI, not as extern.
* lib/argp.h (argp_usage, __argp_usage, _option_is_short)
(__option_is_short, _option_is_end, __option_is_end)
[!_LIBC && __USE_EXTERN_INLINES]:
Declare as ARGP_EI, not as extern.
ChangeLog
lib/argp-fmtstream.h
lib/argp.h