mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 14:29:47 +00:00
lib: Function crypt
does not need to be declared mid function
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
6fd04fda31
commit
00c89a3673
@ -429,7 +429,6 @@ static char *zencrypt(const char *passwd)
|
|||||||
{
|
{
|
||||||
char salt[6];
|
char salt[6];
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
char *crypt(const char *, const char *);
|
|
||||||
|
|
||||||
gettimeofday(&tv, 0);
|
gettimeofday(&tv, 0);
|
||||||
|
|
||||||
|
@ -382,7 +382,6 @@ static void vty_auth(struct vty *vty, char *buf)
|
|||||||
char *passwd = NULL;
|
char *passwd = NULL;
|
||||||
enum node_type next_node = 0;
|
enum node_type next_node = 0;
|
||||||
int fail;
|
int fail;
|
||||||
char *crypt(const char *, const char *);
|
|
||||||
|
|
||||||
switch (vty->node) {
|
switch (vty->node) {
|
||||||
case AUTH_NODE:
|
case AUTH_NODE:
|
||||||
|
Loading…
Reference in New Issue
Block a user