]> granicus.if.org Git - sudo/commitdiff
Don't declare pw_free() if we are not going to use it.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 31 Jan 2007 15:02:24 +0000 (15:02 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 31 Jan 2007 15:02:24 +0000 (15:02 +0000)
pwutil.c

index 776d0f156cfaff1ebce32a8c095520c55cc6c667..e3849a1e03593a4ba7357dc785fbd7662119cc4e 100644 (file)
--- 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()
 {