lib: Function crypt does not need to be declared mid function

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2022-06-16 15:38:15 -04:00
parent 6fd04fda31
commit 00c89a3673
2 changed files with 0 additions and 2 deletions

View File

@ -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);

View File

@ -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: