OSSP CVS Repository

ossp - Check-in [1683]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1683
Date: 2002-Jan-29 12:06:35 (local)
2002-Jan-29 11:06:35 (UTC)
User:rse
Branch:
Comment: just a few comments I forgot...
Tickets:
Inspections:
Files:
ossp-pkg/ex/ex.c      1.4 -> 1.5     3 inserted, 0 deleted

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

--- ex.c 2002/01/29 11:05:21     1.4
+++ ex.c 2002/01/29 11:06:35     1.5
@@ -33,6 +33,7 @@
 
 #include "ex.h"
 
+/* default __ex_ctx callback function */
 static ex_ctx_t *ex_ctx_default(void)
 {
     static ex_ctx_t ctx = EX_CTX_INITIALIZER;
@@ -40,6 +41,7 @@
     return &ctx;
 }
 
+/* default __ex_terminate callback function */
 static void ex_terminate_default(ex_t *e)
 { 
     fprintf(stderr,
@@ -50,6 +52,7 @@
     abort();
 }
 
+/* the externally visible API */
 ex_ctx_cb_t  __ex_ctx       = &ex_ctx_default;
 ex_term_cb_t __ex_terminate = &ex_terminate_default;
 

CVSTrac 2.0.1