| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
of strtok_r is always defined.
|
|
|
|
|
| |
* libc/include/sys/errno.h: Added comments on many error numbers.
* libc/string/strerror.c: Added some more strings.
|
| |
|
|
|
|
|
|
| |
* libc/include/string.h: Don't include <sys/types.h>,
as it causes really bad namespace pollution. Don't declare
swab(), it is properly declared in unistd.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
used later (ifdef __SCLE)
* libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
used later (ifdef MB_CAPABLE)
* libc/string/memset.c (memset): removed unused variables "count"
and "unaligned_addr"
* libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
"last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
* libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
and "gid"
|
|
|
|
|
|
|
|
| |
* libc/include/string.h: Changed last argument back to ssize_t
to make it compatible with XPG4 definition which is
defined in <unistd.h>. There is a conflict in the SVID 3
and XPG4 definitions and newlib will settle with XPG4.
* libc/string/swab.c: Ditto.
|
|
|
|
|
| |
* libc/include/string.h: Changed last argument to size_t.
* libc/string/swab.c: Changed last argument to size_t.
|
|
|
|
|
|
|
|
| |
(CHEWOUT_FILES): Added swab.def.
* libc/string/Makefile.in: Rebuilt.
* libc/string/string.tex: Include swab.def.
* libc/include/string.h (swab): Declare.
* libc/string/swab.c: New file.
|
|
|