lib: Fix samba-util dep in "errors" module
authorVolker Lendecke <vl@samba.org>
Wed, 17 Sep 2014 13:09:52 +0000 (15:09 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 18 Sep 2014 18:36:11 +0000 (20:36 +0200)
commit3ffff13e0d66ac6f871c3d87d15c5c3c8095ed33
tree8403fcb200bb5b8c04c4775c1ec9f4985e2f5edb
parentfb9067c789263d5e2fcc26adb46463b974ccdaae
lib: Fix samba-util dep in "errors" module

This piece of code pulls in talloc_stackframe and smb_panic into what
should be a very simple mapping library. I'm trying to reduce our
dependencies right now a bit, and I think the use cases that this fixes
(unknown NTSTATUS together with double nt_errstr() calls in the same
DEBUG) are rare enough that this is not justified.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
libcli/util/nterr.c
libcli/util/wscript_build