mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
OS X crap
This commit is contained in:
parent
2305af1c11
commit
7c809320ca
3 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue