| Date: Mon, 24 Sep 2007 22:31:26 -0400
venti: move os x linker hack
Diffstat:
M src/cmd/venti/srv/config.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
--- |
| t@@ -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)
{
t@@ -250,3 +245,9 @@ configbloom(char *file)
return b;
}
+/* for OS X linker, which only resolves functions, not data */
+void
+needmainindex(void)
+{
+}
+ |