Fix "parameter has incomplete type" build warning.
authorTim Prouty <tprouty@samba.org>
Thu, 23 Oct 2008 18:15:13 +0000 (11:15 -0700)
committerTim Prouty <tprouty@samba.org>
Thu, 23 Oct 2008 19:21:44 +0000 (12:21 -0700)
commit0b68762af7055bb3f60e28ab543dcad2736028e9
treec6ba0909056f071cdcedc2a6a2aa9a780dcbd8b6
parent215b84903ed202e69241d9fd9494fdc95e911efc
Fix "parameter has incomplete type" build warning.

When libcli-util was moved to the top level
(3be0f6ea56ed8e43cd287ed020e942efb675b87b) it introduced a build
warning.  Since ndr_map_error2ntstatus depends on the definition of
enum ndr_err_code and libndr.h can't be easily included in error.h, I
moved the definition of enum ndr_err_code to libndr.h.

This also eliminates the need for the duplicate definition in proto.h
libcli/util/error.h
librpc/ndr/libndr.h
source3/include/proto.h