]> andersk Git - moira.git/blame - lib/mr_init.c
reference the external link_against_the_moira_version_of_gdb
[moira.git] / lib / mr_init.c
CommitLineData
0fa91a0a 1/*
2 * $Source$
3 * $Author$
4 * $Header$
5 *
6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
babbc197 7 * For copying and distribution information, please see the file
8 * <mit-copyright.h>.
0fa91a0a 9 */
10
11#ifndef lint
12static char *rcsid_sms_init_c = "$Header$";
13#endif lint
14
babbc197 15#include <mit-copyright.h>
0fa91a0a 16#include "sms_private.h"
17
18int sms_inited = 0;
19
00fe263a 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 */
0fa91a0a 23sms_init()
24{
00fe263a 25 extern int link_against_the_moira_version_of_gdb;
0fa91a0a 26 if (sms_inited) return;
27
28 gdb_init();
29 init_sms_err_tbl();
30 init_krb_err_tbl();
00fe263a 31 link_against_the_moira_version_of_gdb = 0;
0fa91a0a 32 sms_inited=1;
33}
This page took 0.145776 seconds and 5 git commands to generate.