]> andersk Git - moira.git/commitdiff
reference the external link_against_the_moira_version_of_gdb
authormar <mar>
Thu, 1 Jun 1989 21:44:22 +0000 (21:44 +0000)
committermar <mar>
Thu, 1 Jun 1989 21:44:22 +0000 (21:44 +0000)
lib/mr_init.c

index 5f507a4fa7b7afd698f6aa28c84194eb825aee69..35e599a0e4907fd0bc82bcd18b366995058fce1d 100644 (file)
@@ -17,12 +17,17 @@ static char *rcsid_sms_init_c = "$Header$";
 
 int sms_inited = 0;
 
+/* the reference to link_against_the_moira_version_of_gdb is to make
+ * sure that this is built with the proper libraries.
+ */
 sms_init()
 {
+       extern int link_against_the_moira_version_of_gdb;
        if (sms_inited) return;
        
        gdb_init();
        init_sms_err_tbl();
        init_krb_err_tbl();
+       link_against_the_moira_version_of_gdb = 0;
        sms_inited=1;
 }
This page took 0.038434 seconds and 5 git commands to generate.