mlibc: Mescc-tools support: getopt, getopt_long.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 19 Nov 2017 15:48:37 +0000 (16:48 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 19 Nov 2017 15:48:37 +0000 (16:48 +0100)
commit0fcdfef28498700e974c9b9444087f2773571b36
tree1836680f4e8cce11abcb9cd15f21053e4a5587e1
parentcbd10d1938ccb9c2667bbce34eebcc73fe98209b
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.
mlibc/getopt.c
mlibc/include/getopt.h [new file with mode: 0644]
mlibc/libc-gcc+tcc.c
mlibc/libc-mes+tcc.c