tventi: move os x linker hack - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b41e39aa1a726c08d5e9d5db55f2a4661aef2c42
 (DIR) parent 72281ecda814ad952b868ac61f018507916dd6da
 (HTM) Author: Russ Cox <rsc@swtch.com>
       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(-)
       ---
 (DIR) diff --git a/src/cmd/venti/srv/config.c b/src/cmd/venti/srv/config.c
       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)
       +{
       +}
       +