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
--- 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;
|
|