From b41e39aa1a726c08d5e9d5db55f2a4661aef2c42 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 24 Sep 2007 22:31:26 -0400 Subject: venti: move os x linker hack --- src/cmd/venti/srv/config.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/cmd/venti/srv/config.c b/src/cmd/venti/srv/config.c index 8c537911..56ebaff7 100644 --- a/src/cmd/venti/srv/config.c +++ b/src/cmd/venti/srv/config.c @@ -9,11 +9,6 @@ static ArenaPart *configarenas(char *file); static ISect *configisect(char *file); static Bloom *configbloom(char *file); -void -needmainindex(void) -{ -} - int initventi(char *file, Config *conf) { @@ -250,3 +245,9 @@ configbloom(char *file) return b; } +/* for OS X linker, which only resolves functions, not data */ +void +needmainindex(void) +{ +} + -- cgit v1.2.3