mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 15:25:58 +00:00
Don't declare pw_free() if we are not going to use it.
This commit is contained in:
5
pwutil.c
5
pwutil.c
@@ -85,7 +85,6 @@ static int cmp_pwuid __P((const VOID *, const VOID *));
|
|||||||
static int cmp_pwnam __P((const VOID *, const VOID *));
|
static int cmp_pwnam __P((const VOID *, const VOID *));
|
||||||
static int cmp_grgid __P((const VOID *, const VOID *));
|
static int cmp_grgid __P((const VOID *, const VOID *));
|
||||||
static int cmp_grnam __P((const VOID *, const VOID *));
|
static int cmp_grnam __P((const VOID *, const VOID *));
|
||||||
static void pw_free __P((VOID *));
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compare by uid.
|
* Compare by uid.
|
||||||
@@ -341,7 +340,9 @@ sudo_setpwent()
|
|||||||
pwcache_byname = rbcreate(cmp_pwnam);
|
pwcache_byname = rbcreate(cmp_pwnam);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#ifdef notyet
|
||||||
|
static void pw_free __P((VOID *));
|
||||||
|
|
||||||
void
|
void
|
||||||
sudo_freepwcache()
|
sudo_freepwcache()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user