aboutsummaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/utils.c b/utils.c
index 46ab6a9..98b90a8 100644
--- a/utils.c
+++ b/utils.c
@@ -60,10 +60,10 @@ static const char cmap[] =
int
mystrcasecmp(const char *ss, const char *tt)
{
- const unsigned char *s = (const unsigned char *) ss;
- const unsigned char *t = (const unsigned char *) tt;
+ register const unsigned char *s = (const unsigned char *) ss;
+ register const unsigned char *t = (const unsigned char *) tt;
- if (ss == tt) {
+ if (s == t) {
return 0;
}
while (cmap[*s] == cmap[*t++]) {
@@ -443,8 +443,9 @@ char rcsid_utils[] = "$Id$";
/*
* $Log$
- * Revision 1.6 2002/08/18 08:51:50 bjj
- * Faster and better (?) hash function. Yes it really was slow.
+ * Revision 1.7 2002/08/18 09:47:26 bjj
+ * Finally made free_activation() take a pointer after noticing how !$%^&
+ * much time it was taking in a particular profiling run.
*
* Revision 1.5 1999/08/09 02:36:33 nop
* Shortcut various equality tests if we have pointer equality.