From: Todd C. Miller Date: Wed, 31 Jan 2007 15:02:24 +0000 (+0000) Subject: Don't declare pw_free() if we are not going to use it. X-Git-Tag: SUDO_1_7_0~583 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51d61f148f4f79bbdb57d4e1f38f3aaeb4765be9;p=sudo Don't declare pw_free() if we are not going to use it. --- diff --git a/pwutil.c b/pwutil.c index 776d0f156..e3849a1e0 100644 --- a/pwutil.c +++ b/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_grgid __P((const VOID *, const VOID *)); static int cmp_grnam __P((const VOID *, const VOID *)); -static void pw_free __P((VOID *)); /* * Compare by uid. @@ -341,7 +340,9 @@ sudo_setpwent() pwcache_byname = rbcreate(cmp_pwnam); } -#if 0 +#ifdef notyet +static void pw_free __P((VOID *)); + void sudo_freepwcache() {