From: Donald Sharp Date: Thu, 16 Jun 2022 19:38:15 +0000 (-0400) Subject: lib: Function `crypt` does not need to be declared mid function X-Git-Tag: base_8.4~340^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=00c89a3673af923353905a0a2a0321bc112be98c;p=mirror%2Ffrr.git lib: Function `crypt` does not need to be declared mid function Signed-off-by: Donald Sharp --- diff --git a/lib/command.c b/lib/command.c index c4db045633..cbecc81574 100644 --- a/lib/command.c +++ b/lib/command.c @@ -429,7 +429,6 @@ static char *zencrypt(const char *passwd) { char salt[6]; struct timeval tv; - char *crypt(const char *, const char *); gettimeofday(&tv, 0); diff --git a/lib/vty.c b/lib/vty.c index e0e2f39229..92db07677a 100644 --- a/lib/vty.c +++ b/lib/vty.c @@ -382,7 +382,6 @@ static void vty_auth(struct vty *vty, char *buf) char *passwd = NULL; enum node_type next_node = 0; int fail; - char *crypt(const char *, const char *); switch (vty->node) { case AUTH_NODE: