diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-15 19:23:27 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-15 19:23:27 +0000 |
commit | abefbe6ea8e9c924966f2ac5c3a8ca5456b6619c (patch) | |
tree | c94eacb252b72d9f6eb83ff6175f194126dfa760 /usr.bin/mail/extern.h | |
parent | 8c98cf2d56717b8effe65a1576fef2af96a6c51e (diff) |
- chraise can be replaced with toupper; no need to check for islower
- remove quite some code, use strcasestr instead of reimplementing
it each time
- use strncasecmp, instead of comparing through each character
"looks fine" millert@
Diffstat (limited to 'usr.bin/mail/extern.h')
-rw-r--r-- | usr.bin/mail/extern.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/mail/extern.h b/usr.bin/mail/extern.h index 95d086e7997..67381e9eea4 100644 --- a/usr.bin/mail/extern.h +++ b/usr.bin/mail/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.25 2006/05/02 05:28:07 hugh Exp $ */ +/* $OpenBSD: extern.h,v 1.26 2008/07/15 19:23:26 martynas Exp $ */ /* $NetBSD: extern.h,v 1.7 1997/07/09 05:22:00 mikel Exp $ */ /*- @@ -30,7 +30,7 @@ * SUCH DAMAGE. * * @(#)extern.h 8.2 (Berkeley) 4/20/95 - * $OpenBSD: extern.h,v 1.25 2006/05/02 05:28:07 hugh Exp $ + * $OpenBSD: extern.h,v 1.26 2008/07/15 19:23:26 martynas Exp $ */ struct name; @@ -198,7 +198,6 @@ int putline(FILE *, char *, int); int pversion(void *); int quit(void); int quitcmd(void *); -int chraise(int); int readline(FILE *, char *, int, int *); void register_file(FILE *, int, pid_t); void regret(int); |