summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-02-06 16:05:48 +0100
committerKarolin Seeger <kseeger@samba.org>2019-02-21 12:30:45 +0100
commit9bf434a941be2f3b13b5cc59b5ad6f77f0c0fb8d (patch)
tree04bdd16b6cab8db7227119946f20b4fb3e49330f /librpc
parent66bf14d832286f5f5b9b4b68cd9b5b96975dbbed (diff)
downloadsamba-9bf434a941be2f3b13b5cc59b5ad6f77f0c0fb8d.tar.gz
lib:util: Move discard_const(_p) to own header for libndr.h
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13778 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 96df6878ed521b7e744d703abb32a585500d3b94)
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr/libndr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index 9c403319b6e..8a15fccfe09 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -26,7 +26,7 @@
#define __LIBNDR_H__
#include <talloc.h>
-#include "../lib/util/memory.h" /* for discard_const */
+#include "../lib/util/discard.h" /* for discard_const */
#include "../lib/util/byteorder.h"
#include "../lib/util/data_blob.h"
#include "../lib/util/time.h"