From 48af8aa9c04725bffe61e97108311f8fdb8caca0 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sat, 13 Mar 2004 06:16:59 +0000 Subject: Constify interactive_ports, as its value is static, and therefore doesn't require synchronization. --- sys/net/if_spppsubr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if_spppsubr.c') diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 0853e55..84d8843 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -281,7 +281,7 @@ static struct callout_handle keepalive_ch; * * XXX is this really still necessary? - joerg - */ -static u_short interactive_ports[8] = { +static const u_short interactive_ports[8] = { 0, 513, 0, 0, 0, 21, 0, 23, }; -- cgit v1.1