From 3ebfd54532cc4dfdb8fa0dbf6d5156b108525183 Mon Sep 17 00:00:00 2001 From: mar Date: Mon, 26 Jun 1989 12:37:17 +0000 Subject: [PATCH] update to use new com_err library --- lib/mr_auth.c | 15 ++------------- lib/mr_init.c | 4 ++-- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/lib/mr_auth.c b/lib/mr_auth.c index 3316d3ef..9c6ef228 100644 --- a/lib/mr_auth.c +++ b/lib/mr_auth.c @@ -18,8 +18,8 @@ static char *rcsid_sms_auth_c = "$Header$"; #include #include "sms_private.h" #include +#include -extern int krb_err_base; /* Authenticate this client with the SMS server. prog is the name of the * client program, and will be recorded in the database. @@ -50,7 +50,7 @@ char *prog; } status = krb_mk_req(&auth, "sms", "sms", realm, 0); if (status != KSUCCESS) { - status += krb_err_base; + status += ERROR_TABLE_BASE_krb; return status; } params->sms_version_no = sending_version_no; @@ -73,14 +73,3 @@ char *prog; return status; } - -/* - * Local Variables: - * mode: c - * c-indent-level: 4 - * c-continued-statement-offset: 4 - * c-brace-offset: -4 - * c-argdecl-indent: 4 - * c-label-offset: -4 - * End: - */ diff --git a/lib/mr_init.c b/lib/mr_init.c index 35e599a0..b2310f32 100644 --- a/lib/mr_init.c +++ b/lib/mr_init.c @@ -26,8 +26,8 @@ sms_init() if (sms_inited) return; gdb_init(); - init_sms_err_tbl(); - init_krb_err_tbl(); + initialize_sms_error_table(); + initialize_krb_error_table(); link_against_the_moira_version_of_gdb = 0; sms_inited=1; } -- 2.45.2