Remove obsolete declarations in Fossil. Reference: /n/sources/patch/applied/fossil-declaration Date: Tue Nov 8 10:21:53 CET 2011 Signed-off-by: djc@9grid.fr --- /sys/src/cmd/fossil/cache.c Tue Nov 8 10:20:11 2011 +++ /sys/src/cmd/fossil/cache.c Tue Nov 8 10:19:56 2011 @@ -112,14 +112,12 @@ static void cacheCheck(Cache*); static void unlinkThread(void *a); static void flushThread(void *a); -static void flushBody(Cache *c); static void unlinkBody(Cache *c); static int cacheFlushBlock(Cache *c); static void cacheSync(void*); static BList *blistAlloc(Block*); static void blistFree(Cache*, BList*); static void doRemoveLink(Cache*, BList*); -static void doRemoveLinkList(Cache*, BList*); /* * Mapping from local block type to Venti type --- /sys/src/cmd/fossil/flfmt.c Tue Nov 8 10:20:27 2011 +++ /sys/src/cmd/fossil/flfmt.c Tue Nov 8 10:20:17 2011 @@ -8,7 +8,6 @@ static void usage(void); static u64int fdsize(int fd); static void partition(int fd, int bsize, Header *h); -static void writeBlock(int fd, uchar *buf, int bsize, ulong bn); static u64int unittoull(char *s); static u32int blockAlloc(int type, u32int tag); static void blockRead(int part, u32int addr); --- /sys/src/cmd/fossil/source.c Tue Nov 8 10:20:43 2011 +++ /sys/src/cmd/fossil/source.c Tue Nov 8 10:20:33 2011 @@ -7,7 +7,6 @@ static int sizeToDepth(uvlong s, int psize, int dsize); static u32int tagGen(void); static Block *sourceLoad(Source *r, Entry *e); -static Block *sourceLoadUnlocked(Source *r, Entry *e); static int sourceShrinkDepth(Source*, Block*, Entry*, int); static int sourceShrinkSize(Source*, Entry*, uvlong); static int sourceGrowDepth(Source*, Block*, Entry*, int);