Commit Graph

2 Commits

Author SHA1 Message Date
Jan Nieuwenhuizen 0fcdfef284 mlibc: Mescc-tools support: getopt, getopt_long.
* mlibc/getopt.c: Move to ANSI C.  Remove GETOPT_COMPAT and
  non-POSIXLY_CORRECT options.
* mlibc/include/getopt.h: New file.
* mlibc/libc-gcc+tcc.c: Include getopt.c.
* mlibc/libc-mes+tcc.c: Likewise.
2017-11-19 16:48:37 +01:00
Jan Nieuwenhuizen cbd10d1938 mlibc: Mescc-tools support: import getopt_long.
* mlibc/getopt.c: Import from gcc-2.0.
2017-11-19 14:09:21 +01:00