diff options
-rw-r--r-- | src/cmd/venti/srv/arena.c | 1 | ||||
-rw-r--r-- | src/cmd/venti/srv/config.c | 5 | ||||
-rw-r--r-- | src/cmd/venti/srv/fns.h | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/venti/srv/arena.c b/src/cmd/venti/srv/arena.c index 2b6d8f52..cc3ac62c 100644 --- a/src/cmd/venti/srv/arena.c +++ b/src/cmd/venti/srv/arena.c @@ -415,6 +415,7 @@ setatailstate(AState *as) /* * Look up as->arena to find index. */ + needmainindex(); /* OS X linker */ ix = mainindex; for(i=0; i<ix->narenas; i++) if(ix->arenas[i] == as->arena) diff --git a/src/cmd/venti/srv/config.c b/src/cmd/venti/srv/config.c index 209f5cda..8c537911 100644 --- a/src/cmd/venti/srv/config.c +++ b/src/cmd/venti/srv/config.c @@ -9,6 +9,11 @@ static ArenaPart *configarenas(char *file); static ISect *configisect(char *file); static Bloom *configbloom(char *file); +void +needmainindex(void) +{ +} + int initventi(char *file, Config *conf) { diff --git a/src/cmd/venti/srv/fns.h b/src/cmd/venti/srv/fns.h index 032e4b3b..cf529953 100644 --- a/src/cmd/venti/srv/fns.h +++ b/src/cmd/venti/srv/fns.h @@ -105,6 +105,7 @@ uint msec(void); int namecmp(char *s, char *t); void namecp(char *dst, char *src); int nameok(char *name); +void needmainindex(void); void needzeroscore(void); Arena *newarena(Part *part, u32int, char *name, u64int base, u64int size, u32int blocksize); ArenaPart *newarenapart(Part *part, u32int blocksize, u32int tabsize); |