diff options
| author | Damien George | 2017-02-21 17:20:58 +1100 |
|---|---|---|
| committer | Damien George | 2017-02-21 17:20:58 +1100 |
| commit | 29551ba5666ba92c7577c554e2fb92d80651e505 (patch) | |
| tree | bb7ab5177e8d0fa26c5b8454dc0aba681460bd91 /cc3200/util/std.h | |
| parent | 465a604547e1438e650c8b4142816e2330363767 (diff) | |
cc3200: Move stoupper to ftp.c and define in terms of unichar_toupper.
ftp.c is the only user of this function so making it static in that file
allows it to be inlined. Also, reusing unichar_toupper means we no longer
depend on the C stdlib for toupper, saving about 300 bytes of code space.
Diffstat (limited to 'cc3200/util/std.h')
| -rw-r--r-- | cc3200/util/std.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cc3200/util/std.h b/cc3200/util/std.h index a74c90e25..6adcb9463 100644 --- a/cc3200/util/std.h +++ b/cc3200/util/std.h @@ -31,6 +31,3 @@ typedef unsigned int size_t; int printf(const char *fmt, ...); int snprintf(char *str, size_t size, const char *fmt, ...); - -// Convenience function, defined in main.c. -void stoupper (char *str); |
