]> andersk Git - moira.git/blobdiff - lib/mr_init.c
fix FixCase() to only capitalize the letter after an apostrophe if the
[moira.git] / lib / mr_init.c
index a15a1da2fc0879488e2d165c90bb330e9fe61615..00f6c1d2c2c3881a988b568087e553c9e3f11796 100644 (file)
@@ -1,30 +1,28 @@
-/*
- *     $Source$
- *     $Author$
- *     $Header$
+/* $Id$
  *
- *     Copyright (C) 1987 by the Massachusetts Institute of Technology
- *
- *     $Log$
- *     Revision 1.1  1987-05-31 22:06:40  wesommer
- *     Initial revision
+ * Initialize libmoira
  *
+ * Copyright (C) 1987-1990 by the Massachusetts Institute of Technology
+ * 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 <moira.h>
+#include "mr_private.h"
 
-#include "sms_private.h"
+RCSID("$Header$");
 
-int sms_inited = 0;
+int mr_inited = 0;
 
-sms_init()
+void mr_init(void)
 {
-       if (sms_inited) return;
-       
-       gdb_init();
-       init_sms_err_tbl();
-       init_krb_err_tbl();
-       sms_inited=1;
+  if (mr_inited)
+    return;
+
+  initialize_sms_error_table();
+  initialize_krb_error_table();
+  initialize_gdss_error_table();
+  initialize_ureg_error_table();
+  mr_inited = 1;
 }
This page took 0.251766 seconds and 4 git commands to generate.