summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-16 00:30:55 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-21 08:27:32 +0200
commitb240406651b6397df912c78408e1de0f36334773 (patch)
tree741affd5540c14ded6c28edd2387c9aca313219f /source3/lib/util.c
parent73b200064fea77037f15cceeda303469b3e78624 (diff)
downloadsamba-b240406651b6397df912c78408e1de0f36334773.tar.gz
samba-b240406651b6397df912c78408e1de0f36334773.tar.bz2
samba-b240406651b6397df912c78408e1de0f36334773.zip
s3:move serverid_equal() to serverid.c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 653fff5c64..f1b815878d 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2058,27 +2058,6 @@ struct server_id *new_server_id_task(TALLOC_CTX *mem_ctx)
return server_id;
}
-bool serverid_equal(const struct server_id *p1, const struct server_id *p2)
-{
- if (p1->pid != p2->pid) {
- return false;
- }
-
- if (p1->task_id != p2->task_id) {
- return false;
- }
-
- if (p1->vnn != p2->vnn) {
- return false;
- }
-
- if (p1->unique_id != p2->unique_id) {
- return false;
- }
-
- return true;
-}
-
bool procid_is_me(const struct server_id *pid)
{
if (pid->pid != getpid())