]> andersk Git - moira.git/blobdiff - lib/mr_init.c
updated for new com_err library
[moira.git] / lib / mr_init.c
index a15a1da2fc0879488e2d165c90bb330e9fe61615..35e599a0e4907fd0bc82bcd18b366995058fce1d 100644 (file)
@@ -4,27 +4,30 @@
  *     $Header$
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
- *
- *     $Log$
- *     Revision 1.1  1987-05-31 22:06:40  wesommer
- *     Initial revision
- *
+ *     For copying and distribution information, please see the file
+ *     <mit-copyright.h>.
  */
 
 #ifndef lint
 static char *rcsid_sms_init_c = "$Header$";
 #endif lint
 
+#include <mit-copyright.h>
 #include "sms_private.h"
 
 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.044492 seconds and 4 git commands to generate.