OSSP CVS Repository

ossp - Difference in ossp-pkg/ex/ex.c versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/ex/ex.c 1.5 -> 1.6

--- ex.c 2002/01/29 11:06:35     1.5
+++ ex.c 2002/01/29 20:10:53     1.6
@@ -34,7 +34,7 @@
 #include "ex.h"
 
 /* default __ex_ctx callback function */
-static ex_ctx_t *ex_ctx_default(void)
+ex_ctx_t *__ex_ctx_default(void)
 {
     static ex_ctx_t ctx = EX_CTX_INITIALIZER;
 
@@ -42,7 +42,7 @@
 }
 
 /* default __ex_terminate callback function */
-static void ex_terminate_default(ex_t *e)
+void __ex_terminate_default(ex_t *e)
 { 
     fprintf(stderr,
             "**EX: UNCAUGHT EXCEPTION: "
@@ -53,6 +53,6 @@
 }
 
 /* the externally visible API */
-ex_ctx_cb_t  __ex_ctx       = &ex_ctx_default;
-ex_term_cb_t __ex_terminate = &ex_terminate_default;
+ex_ctx_cb_t  __ex_ctx       = &__ex_ctx_default;
+ex_term_cb_t __ex_terminate = &__ex_terminate_default;
 

CVSTrac 2.0.1