OSDN Git Service

Clean up our OpenBSD usage.
authorElliott Hughes <enh@google.com>
Fri, 21 Feb 2014 02:04:58 +0000 (18:04 -0800)
committerElliott Hughes <enh@google.com>
Fri, 21 Feb 2014 22:30:18 +0000 (14:30 -0800)
commit0133944b09d1c0a35041f7a41eb6bfb660144f4f
tree0cb37ddb83c7cf6363d917791d76420ad6f6e1c1
parente65055af112780623f372aca6a1f78d2b2acb34f
Clean up our OpenBSD usage.

Also undo some of the mess where we have OpenBSD <stdio.h> but a mix of
different BSD's implementations.

In this first pass, I've only moved easy OpenBSD stuff.

Change-Id: Iae67b02cde6dba9d8d06fedeb53efbfdac0a8cf6
89 files changed:
libc/Android.mk
libc/bionic/atoi.c [deleted file]
libc/bionic/atol.c [deleted file]
libc/bionic/atoll.c [deleted file]
libc/bionic/ftok.c [deleted file]
libc/bionic/perror.c [deleted file]
libc/bionic/strndup.c [deleted file]
libc/include/unistd.h
libc/stdlib/strtoll.c [deleted file]
libc/upstream-freebsd/lib/libc/stdio/clrerr.c [deleted file]
libc/upstream-freebsd/lib/libc/stdio/feof.c [deleted file]
libc/upstream-freebsd/lib/libc/stdio/ferror.c [deleted file]
libc/upstream-freebsd/lib/libc/stdio/fgetpos.c [deleted file]
libc/upstream-freebsd/lib/libc/stdio/fileno.c [deleted file]
libc/upstream-freebsd/lib/libc/stdio/fwalk.c [deleted file]
libc/upstream-freebsd/lib/libc/stdio/getc.c [deleted file]
libc/upstream-freebsd/lib/libc/stdio/getchar.c [deleted file]
libc/upstream-freebsd/lib/libc/stdio/putchar.c [deleted file]
libc/upstream-openbsd/lib/libc/gen/charclass.h [moved from libc/unistd/charclass.h with 100% similarity]
libc/upstream-openbsd/lib/libc/gen/exec.c [moved from libc/unistd/exec.c with 90% similarity]
libc/upstream-openbsd/lib/libc/gen/fnmatch.c [moved from libc/unistd/fnmatch.c with 100% similarity]
libc/upstream-openbsd/lib/libc/gen/ftok.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/gen/tolower_.c [moved from libc/stdlib/tolower_.c with 100% similarity]
libc/upstream-openbsd/lib/libc/gen/toupper_.c [moved from libc/stdlib/toupper_.c with 100% similarity]
libc/upstream-openbsd/lib/libc/stdio/clrerr.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/fdopen.c [moved from libc/upstream-freebsd/lib/libc/stdio/fdopen.c with 77% similarity]
libc/upstream-openbsd/lib/libc/stdio/feof.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/ferror.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/fflush.c [moved from libc/stdio/fflush.c with 97% similarity]
libc/upstream-openbsd/lib/libc/stdio/fgetc.c [moved from libc/stdio/fgetc.c with 96% similarity]
libc/upstream-openbsd/lib/libc/stdio/fgetln.c [moved from libc/upstream-freebsd/lib/libc/stdio/fgetln.c with 86% similarity]
libc/upstream-openbsd/lib/libc/stdio/fgetpos.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/fgets.c [moved from libc/upstream-freebsd/lib/libc/stdio/fgets.c with 86% similarity]
libc/upstream-openbsd/lib/libc/stdio/fileno.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/fpurge.c [moved from libc/upstream-freebsd/lib/libc/stdio/fpurge.c with 80% similarity]
libc/upstream-openbsd/lib/libc/stdio/fputc.c [moved from libc/stdio/fputc.c with 96% similarity]
libc/upstream-openbsd/lib/libc/stdio/fputs.c [moved from libc/upstream-freebsd/lib/libc/stdio/fputs.c with 83% similarity]
libc/upstream-openbsd/lib/libc/stdio/fscanf.c [moved from libc/stdio/fscanf.c with 95% similarity]
libc/upstream-openbsd/lib/libc/stdio/fseek.c [moved from libc/stdio/fseek.c with 93% similarity]
libc/upstream-openbsd/lib/libc/stdio/fsetpos.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/ftell.c [moved from libc/stdio/ftell.c with 88% similarity]
libc/upstream-openbsd/lib/libc/stdio/funopen.c [moved from libc/upstream-freebsd/lib/libc/stdio/funopen.c with 86% similarity]
libc/upstream-openbsd/lib/libc/stdio/fwalk.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/getc.c [moved from libc/upstream-freebsd/lib/libc/stdio/setbuf.c with 83% similarity]
libc/upstream-openbsd/lib/libc/stdio/getchar.c [moved from libc/upstream-freebsd/lib/libc/stdio/fsetpos.c with 84% similarity]
libc/upstream-openbsd/lib/libc/stdio/getdelim.c [moved from libc/upstream-netbsd/lib/libc/stdio/getdelim.c with 88% similarity]
libc/upstream-openbsd/lib/libc/stdio/getline.c [moved from libc/upstream-netbsd/lib/libc/stdio/getline.c with 90% similarity]
libc/upstream-openbsd/lib/libc/stdio/gets.c [moved from libc/stdio/gets.c with 97% similarity]
libc/upstream-openbsd/lib/libc/stdio/perror.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/printf.c [moved from libc/stdio/printf.c with 95% similarity]
libc/upstream-openbsd/lib/libc/stdio/putc.c [moved from libc/upstream-freebsd/lib/libc/stdio/putc.c with 80% similarity]
libc/upstream-openbsd/lib/libc/stdio/putchar.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/puts.c [moved from libc/upstream-freebsd/lib/libc/stdio/puts.c with 84% similarity]
libc/upstream-openbsd/lib/libc/stdio/refill.c [moved from libc/stdio/refill.c with 96% similarity]
libc/upstream-openbsd/lib/libc/stdio/remove.c [moved from libc/upstream-freebsd/lib/libc/stdio/remove.c with 86% similarity]
libc/upstream-openbsd/lib/libc/stdio/rewind.c [moved from libc/stdio/rewind.c with 100% similarity]
libc/upstream-openbsd/lib/libc/stdio/rget.c [moved from libc/upstream-freebsd/lib/libc/stdio/rget.c with 91% similarity]
libc/upstream-openbsd/lib/libc/stdio/scanf.c [moved from libc/stdio/scanf.c with 95% similarity]
libc/upstream-openbsd/lib/libc/stdio/setbuf.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdio/setbuffer.c [moved from libc/upstream-freebsd/lib/libc/stdio/setbuffer.c with 88% similarity]
libc/upstream-openbsd/lib/libc/stdio/stdio.c [moved from libc/stdio/stdio.c with 99% similarity]
libc/upstream-openbsd/lib/libc/stdio/tempnam.c [moved from libc/upstream-freebsd/lib/libc/stdio/tempnam.c with 71% similarity]
libc/upstream-openbsd/lib/libc/stdio/tmpnam.c [moved from libc/upstream-freebsd/lib/libc/stdio/tmpnam.c with 88% similarity]
libc/upstream-openbsd/lib/libc/stdio/ungetc.c [moved from libc/stdio/ungetc.c with 98% similarity]
libc/upstream-openbsd/lib/libc/stdio/vasprintf.c [moved from libc/stdio/vasprintf.c with 91% similarity]
libc/upstream-openbsd/lib/libc/stdio/vprintf.c [moved from libc/stdio/vprintf.c with 100% similarity]
libc/upstream-openbsd/lib/libc/stdio/vscanf.c [moved from libc/stdio/vscanf.c with 100% similarity]
libc/upstream-openbsd/lib/libc/stdio/vsnprintf.c [moved from libc/stdio/vsnprintf.c with 97% similarity]
libc/upstream-openbsd/lib/libc/stdio/vsprintf.c [moved from libc/stdio/vsprintf.c with 96% similarity]
libc/upstream-openbsd/lib/libc/stdio/wbuf.c [moved from libc/stdio/wbuf.c with 98% similarity]
libc/upstream-openbsd/lib/libc/stdlib/atoi.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdlib/atol.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdlib/atoll.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdlib/strtoimax.c [moved from libc/stdlib/strtoimax.c with 82% similarity]
libc/upstream-openbsd/lib/libc/stdlib/strtol.c [moved from libc/stdlib/strtol.c with 93% similarity]
libc/upstream-openbsd/lib/libc/stdlib/strtoll.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/stdlib/strtoul.c [moved from libc/stdlib/strtoul.c with 97% similarity]
libc/upstream-openbsd/lib/libc/stdlib/strtoull.c [moved from libc/stdlib/strtoull.c with 62% similarity]
libc/upstream-openbsd/lib/libc/stdlib/strtoumax.c [moved from libc/stdlib/strtoumax.c with 88% similarity]
libc/upstream-openbsd/lib/libc/string/strcasecmp.c [moved from libc/string/strcasecmp.c with 100% similarity]
libc/upstream-openbsd/lib/libc/string/strcspn.c [moved from libc/string/strcspn.c with 100% similarity]
libc/upstream-openbsd/lib/libc/string/strdup.c [moved from libc/string/strdup.c with 100% similarity]
libc/upstream-openbsd/lib/libc/string/strndup.c [new file with mode: 0644]
libc/upstream-openbsd/lib/libc/string/strpbrk.c [moved from libc/string/strpbrk.c with 100% similarity]
libc/upstream-openbsd/lib/libc/string/strsep.c [moved from libc/string/strsep.c with 98% similarity]
libc/upstream-openbsd/lib/libc/string/strspn.c [moved from libc/string/strspn.c with 100% similarity]
libc/upstream-openbsd/lib/libc/string/strstr.c [moved from libc/string/strstr.c with 100% similarity]
libc/upstream-openbsd/lib/libc/string/strtok.c [moved from libc/string/strtok.c with 100% similarity]
libc/upstream-openbsd/openbsd-compat.h [new file with mode: 0644]