summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-08-10 16:45:30 +0200
committerJeremy Allison <jra@samba.org>2019-08-19 23:14:38 +0000
commit38463a91aafa2643551b4e4508c3e575d9e914a1 (patch)
tree0c12a1fa9804efc21e79c2d257e1850a0993ecfb
parentaeb4265ec2f5d75250b1bc4d884628426df28dca (diff)
downloadsamba-38463a91aafa2643551b4e4508c3e575d9e914a1.tar.gz
lib: Remove a duplicate function prototype
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
-rw-r--r--lib/util/idtree.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/util/idtree.h b/lib/util/idtree.h
index e7864a86968..79d2d8cd260 100644
--- a/lib/util/idtree.h
+++ b/lib/util/idtree.h
@@ -51,11 +51,6 @@ int idr_get_new(struct idr_context *idp, void *ptr, int limit);
int idr_get_new_above(struct idr_context *idp, void *ptr, int starting_id, int limit);
/**
- allocate a new id randomly in the given range
-*/
-int idr_get_new_random(struct idr_context *idp, void *ptr, int limit);
-
-/**
find a pointer value previously set with idr_get_new given an id
*/
void *idr_find(struct idr_context *idp, int id);