diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-12-22 17:25:00 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-01-30 15:42:08 +0100 |
commit | de73d9618815b2ff0c19198b4fede0bc60f00d4e (patch) | |
tree | 6be0e8c9d4b8c98d04aa743819ad3210f5e27155 /src/calcurse.h | |
parent | ef961f49275ae4cee5d91959f5af5f13b9fdf965 (diff) | |
download | calcurse-de73d9618815b2ff0c19198b4fede0bc60f00d4e.zip |
Use strncasecmp() for case-insensitive comparison
Instead of converting everything to upper case and then using strncmp(),
use strncasecmp() which does case-insensitive comparison out of the box.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 1f8c9db..1aff02a 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -977,7 +977,6 @@ char *new_tempfile(const char *, int); int parse_date(const char *, enum datefmt, int *, int *, int *, struct date *); int parse_time(const char *, unsigned *, unsigned *); int parse_duration(const char *, unsigned *); -void str_toupper(char *); void file_close(FILE *, const char *); void psleep(unsigned); int fork_exec(int *, int *, const char *, const char *const *); |