2
0
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:
Todd C. Miller
2007-01-31 15:02:24 +00:00
parent bf500a00d6
commit 51d61f148f

View File

@@ -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()
{ {