aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-05 11:27:34 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-05 11:27:34 +0000
commitd057ff6bce567a8f679271ec102016dae92a27d7 (patch)
treee1fd0d9c296ea8887175bd628baacaf52c7ccbc2
parenta80c9a48e79fc491b0b01f4686f8365bd58fbc43 (diff)
downloadgdbm-d057ff6bce567a8f679271ec102016dae92a27d7.tar.gz
gdbm-d057ff6bce567a8f679271ec102016dae92a27d7.tar.bz2
(gdbm_errno): New declaration (from global.c)
-rw-r--r--src/gdbmerrno.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gdbmerrno.c b/src/gdbmerrno.c
index 5d29733..00d9271 100644
--- a/src/gdbmerrno.c
+++ b/src/gdbmerrno.c
@@ -21,6 +21,9 @@
#include "gdbm.h"
+/* The dbm error number is placed in the variable GDBM_ERRNO. */
+gdbm_error gdbm_errno = GDBM_NO_ERROR;
+
/* this is not static so that applications may access the array if they
like. it must be in the same order as the error codes! */

Return to:

Send suggestions and report system problems to the System administrator.