NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/57941: Remove duplicated sppp_pap_scr function definition
>Number: 57941
>Category: kern
>Synopsis: Remove duplicated sppp_pap_scr function definition
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 17 12:45:00 +0000 2024
>Originator: Kenjiro Nakayama
>Release:
>Organization:
>Environment:
>Description:
sys/net/if_spppsubr.c contains duplicated function definition:
static void sppp_pap_scr(struct sppp *);
static void sppp_pap_scr(struct sppp *);
One of them should be removed.
>How-To-Repeat:
>Fix:
Simply remove the duplicated function definition.
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 2e81b001d511..0b3bec7d8fac 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -445,7 +445,6 @@ static void sppp_pap_input(struct sppp *, struct mbuf *);
static void sppp_pap_init(struct sppp *);
static void sppp_pap_tlu(struct sppp *);
static void sppp_pap_scr(struct sppp *);
-static void sppp_pap_scr(struct sppp *);
static void sppp_chap_input(struct sppp *, struct mbuf *);
static void sppp_chap_init(struct sppp *);
Home |
Main Index |
Thread Index |
Old Index