X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fnmem.c;h=75cbd20496d013301a211030acdeb175f961e4b8;hb=906a5ab4a9c3b8b9a4bef15de1df58ab873a1cb5;hp=15fe281478f3e7bd430ae9ebf60f7ab4386d3a68;hpb=5acca4fa9c5841f48e8ef1b6ac7599dccde69b65;p=yaz-moved-to-github.git diff --git a/util/nmem.c b/util/nmem.c index 15fe281..75cbd20 100644 --- a/util/nmem.c +++ b/util/nmem.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: nmem.c,v 1.36 2002-09-10 18:41:18 adam Exp $ + * $Id: nmem.c,v 1.37 2002-09-25 12:37:07 adam Exp $ */ /* @@ -435,3 +435,8 @@ int yaz_errno(void) { return errno; } + +void yaz_set_errno(int v) +{ + errno = v; +}