]> andersk Git - moira.git/blob - lib/mr_init.c
Change `SMS' to `Moira' where possible.
[moira.git] / lib / mr_init.c
1 /*
2  *      $Source$
3  *      $Author$
4  *      $Header$
5  *
6  *      Copyright (C) 1987, 1990 by the Massachusetts Institute of Technology
7  *      For copying and distribution information, please see the file
8  *      <mit-copyright.h>.
9  */
10
11 #ifndef lint
12 static char *rcsid_mr_init_c = "$Header$";
13 #endif
14
15 #include <mit-copyright.h>
16 #include "mr_private.h"
17
18 int mr_inited = 0;
19
20 /* the reference to link_against_the_moira_version_of_gdb is to make
21  * sure that this is built with the proper libraries.
22  */
23 mr_init(void)
24 {
25   extern int link_against_the_moira_version_of_gdb;
26   if (mr_inited)
27     return;
28
29   gdb_init();
30   initialize_sms_error_table();
31   initialize_krb_error_table();
32   link_against_the_moira_version_of_gdb = 0;
33   mr_inited = 1;
34 }
This page took 0.188495 seconds and 5 git commands to generate.