Commit graph

8 commits

Author SHA1 Message Date
Érico Rolim
3358bdadaf Import argp-fmtstream.{c,h} from glibc 2.33.
Also:
- use vsnprintf instead of __vsnprintf_internal
- don't cater to compilers which can't inline functions
2021-02-10 18:08:19 -03:00
Érico Rolim
a5fcbcecd9 Import argp-test.c from glibc 2.33.
This change assumes that asprintf is always available.
2021-02-10 17:41:05 -03:00
Érico Rolim
06a70d506f Import trivial changes from glibc 2.33.
Mostly style/license changes and initialization removal when the
variable is a global.
2021-02-10 17:41:05 -03:00
Érico Rolim
c474ac2af7 Import argp.h from glibc 2.33.
With some changes of my own:
- pull <sys/cdef.h> ifdefs for compiler keywords
- always define error_t
- change !_LIBC to 1: should always be true
2021-02-10 17:41:05 -03:00
Érico Rolim
92bd24de26 Import argp-standalone 1.3. 2021-02-10 17:41:05 -03:00
Érico Rolim
ede863a979 Import argp-standalone 1.2. 2021-02-10 17:41:05 -03:00
Érico Rolim
3d5f6735d4 Import argp-standalone 1.1. 2021-02-10 16:17:50 -03:00
Érico Rolim
8333609d29 Import argp-standalone 1.0. 2021-02-10 16:16:04 -03:00