com_err.[ch]: Define old com_err_va interface
authorRichard Basch <probe@mit.edu>
Sat, 8 Feb 1997 00:21:52 +0000 (00:21 +0000)
committerRichard Basch <probe@mit.edu>
Sat, 8 Feb 1997 00:21:52 +0000 (00:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9818 dc483132-0cff-0310-8789-dd5450dbe970

src/util/et/ChangeLog
src/util/et/com_err.c
src/util/et/com_err.h

index 51441554b85261cc14fbd29cb93436f2af4d1c57..24a62e1054420ee1f58ed030c4f9b61e5ab9fa8f 100644 (file)
@@ -1,3 +1,7 @@
+Fri Feb  7 19:03:07 1997  Richard Basch  <basch@lehman.com>
+
+       * com_err.c com_err.h: Added old interface function com_err_va
+
 Tue Feb  4 15:59:01 1997  Richard Basch  <basch@lehman.com>
 
        * Makefile.in com_err.h error_table.h et_c.awk error_message.c
index c24e073dfd2834c5322499b11277f6031cd54fc4..5c9e59fe0f2d32702283de64e99a95129328c86f 100644 (file)
@@ -156,6 +156,15 @@ KRB5_DLLIMP void KRB5_CALLCONV_C et_com_err(ectx, priv, whoami,
 /*
  * The following are the old-style com_err interfaces....
  */
+KRB5_DLLIMP void KRB5_CALLCONV_C com_err_va(whoami, code, fmt, args)
+    const char FAR * whoami;
+    errcode_t code;
+    const char FAR * fmt;
+    va_list args;
+{
+    et_com_err_va(0, 0, whoami, code, fmt, args);
+}
+
 #ifndef ET_VARARGS
 KRB5_DLLIMP void KRB5_CALLCONV_C com_err(const char FAR *whoami,
                                         errcode_t code,
@@ -175,7 +184,7 @@ KRB5_DLLIMP void KRB5_CALLCONV_C et_com_err(whoami, code, fmt, va_alist)
 #else
        va_start(ap, fmt);
 #endif
-       et_com_err_va(0, 0, whoami, code, fmt, ap);
+       com_err_va(whoami, code, fmt, ap);
        va_end(ap);
 }
 
index 225d1c2fbf37d713fdca6c9c0f47ac53b843b8de..f050f33b51fd584703879a1670e3ee1f02f42dd0 100644 (file)
@@ -61,6 +61,8 @@ typedef void (*et_old_error_hook_func) ET_P((const char FAR *, errcode_t,
        
 KRB5_DLLIMP extern void KRB5_CALLCONV_C com_err
        ET_STDARG_P((const char FAR *, errcode_t, const char FAR *, ...));
+KRB5_DLLIMP extern void KRB5_CALLCONV_C com_err_va
+       ET_STDARG_P((const char FAR *, errcode_t, const char FAR *, va_list));
 
 KRB5_DLLIMP extern const char FAR * KRB5_CALLCONV error_message
        ET_P((errcode_t));