Delete old wcwidth() implementation

This shaves away 144kb of bss memory from every binary linking printf at
the expense of slightly increased binary footprint. Kudos for Byron Lai.
This commit is contained in:
Justine Tunney 2023-10-14 03:06:11 -07:00
parent 2db2f40a98
commit a657f3e878
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
15 changed files with 11 additions and 814 deletions

View file

@ -138,11 +138,6 @@ ssize_t strfmon(char *, size_t, const char *, ...);
long a64l(const char *);
char *l64a(long);
char *strntolower(char *, size_t) libcesque;
char *strtolower(char *) libcesque paramsnonnull();
char *strntoupper(char *, size_t) libcesque;
char *strtoupper(char *) libcesque paramsnonnull();
typedef unsigned mbstate_t;
wchar_t *wcsncpy(wchar_t *, const wchar_t *, size_t);