summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>1995-10-12 05:58:24 +0000
committerSam Hartman <hartmans@mit.edu>1995-10-12 05:58:24 +0000
commit0461d8a8650ff234c6de9467fab8fdfdf065ee1a (patch)
treece9ae47c68c39af5a7c20ed3780ec82b49a115cd /src
parent1380695561542749c87adccdadbc1570466fa7c6 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/util/berk_db/test/ChangeLog5
-rw-r--r--src/util/berk_db/test/dbtest.c6
2 files changed, 8 insertions, 3 deletions
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 <hartmans@tertius.mit.edu>
+
+ * 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)