diff options
author | rsc <devnull@localhost> | 2007-05-04 01:42:24 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-05-04 01:42:24 +0000 |
commit | 7c809320cadf39a2dcaba904b9ee6a67d58f9427 (patch) | |
tree | 3b72afc8f73cd4b6d40f71bbb03aede21082dacb /src | |
parent | 2305af1c11b3cbf2f184cb45d8875676b584b33b (diff) | |
download | plan9port-7c809320cadf39a2dcaba904b9ee6a67d58f9427.tar.gz plan9port-7c809320cadf39a2dcaba904b9ee6a67d58f9427.tar.bz2 plan9port-7c809320cadf39a2dcaba904b9ee6a67d58f9427.zip |
OS X crap
Diffstat (limited to 'src')
-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); |