From: Sam Hartman Date: Thu, 12 Oct 1995 05:58:24 +0000 (+0000) Subject: Fix handling of index so db test compiles on AIX X-Git-Tag: krb5-1.0-beta6~905 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0461d8a8650ff234c6de9467fab8fdfdf065ee1a;p=krb5.git Fix handling of index so db test compiles on AIX git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6964 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/berk_db/test/ChangeLog b/src/util/berk_db/test/ChangeLog index 25c428504..ca04c6c1f 100644 --- a/src/util/berk_db/test/ChangeLog +++ b/src/util/berk_db/test/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 12 01:18:07 1995 Sam Hartman + + * dbtest.c (rfile): Don't declare index. + (setflags setinfo): Same change + Fri Sep 1 11:18:25 EDT 1995 Paul Park (pjpark@mit.edu) * Makefile.in - Remove __dbtest after done with make check. diff --git a/src/util/berk_db/test/dbtest.c b/src/util/berk_db/test/dbtest.c index 7a2e47b58..0c9137396 100644 --- a/src/util/berk_db/test/dbtest.c +++ b/src/util/berk_db/test/dbtest.c @@ -535,7 +535,7 @@ u_int setflags(s) char *s; { - char *p, *index(); + char *p ; for (; isspace(*s); ++s); if (*s == '\n' || *s == '\0') @@ -597,7 +597,7 @@ setinfo(type, s) static BTREEINFO ib; static HASHINFO ih; static RECNOINFO rh; - char *eq, *index(); + char *eq; if ((eq = index(s, '=')) == NULL) err("%s: illegal structure set statement", s); @@ -693,7 +693,7 @@ rfile(name, lenp) struct stat sb; void *p; int fd; - char *np, *index(); + char *np; for (; isspace(*name); ++name); if ((np = index(name, '\n')) != NULL)