summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-06-19 22:33:01 +0300
committerGitHub <noreply@github.com>2022-06-19 22:33:01 +0300
commit4ed0abcb55c9b084eddd645c6043442083acc28f (patch)
tree15f631dc898fb80ec3e52bb6f5f49455876c2b31 /lib
parentee91e848ff7020be6840d8bf82242f20217667af (diff)
parent00c89a3673af923353905a0a2a0321bc112be98c (diff)
Merge pull request #11423 from donaldsharp/lgtm_fixes
Lgtm fixes
Diffstat (limited to 'lib')
-rw-r--r--lib/command.c1
-rw-r--r--lib/vty.c1
2 files changed, 0 insertions, 2 deletions
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: