summaryrefslogtreecommitdiff
path: root/source3/lib/util_hnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_hnd.c')
-rw-r--r--source3/lib/util_hnd.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/source3/lib/util_hnd.c b/source3/lib/util_hnd.c
index d65116e646..addedaec90 100644
--- a/source3/lib/util_hnd.c
+++ b/source3/lib/util_hnd.c
@@ -64,7 +64,7 @@ static struct bitmap *bmap;
/****************************************************************************
create a unique policy handle
****************************************************************************/
-void create_pol_hnd(POLICY_HND *hnd)
+static void create_pol_hnd(POLICY_HND *hnd)
{
static uint32 pol_hnd_low = 0;
static uint32 pol_hnd_high = 0;
@@ -263,26 +263,6 @@ BOOL set_lsa_policy_reg_name(POLICY_HND *hnd, fstring name)
}
/****************************************************************************
- get reg name
-****************************************************************************/
-BOOL get_lsa_policy_reg_name(POLICY_HND *hnd, char *name)
-{
- struct policy *p = find_lsa_policy(hnd);
-
- if (p && p->open) {
- fstrcpy(name, p->dev.reg.name);
-
- DEBUG(3,("Getting policy pnum=%x name=%s\n",
- p->pnum, name));
-
- return True;
- }
-
- DEBUG(3,("Error getting policy\n"));
- return False;
-}
-
-/****************************************************************************
close an lsa policy
****************************************************************************/
BOOL close_lsa_policy_hnd(POLICY_HND *hnd)