summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_frame_relay.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1999-11-24 01:03:08 +0000
committerarchie <archie@FreeBSD.org>1999-11-24 01:03:08 +0000
commitd6eae9ff980dd5cb8c77eef5beb21a67fb84ac95 (patch)
tree5d5c85e2a99196d3f704d5a25197f1fa4f3081f2 /sys/netgraph/ng_frame_relay.c
parente060599533305d04d652d2f055850e47b7b69662 (diff)
downloadFreeBSD-src-d6eae9ff980dd5cb8c77eef5beb21a67fb84ac95.zip
FreeBSD-src-d6eae9ff980dd5cb8c77eef5beb21a67fb84ac95.tar.gz
Change the prototype of the strto* routines to make the second
parameter a char ** instead of a const char **. This make these kernel routines consistent with the corresponding libc userland routines. Which is actually 'correct' is debatable, but consistency and following the spec was deemed more important in this case. Reviewed by (in concept): phk, bde
Diffstat (limited to 'sys/netgraph/ng_frame_relay.c')
-rw-r--r--sys/netgraph/ng_frame_relay.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netgraph/ng_frame_relay.c b/sys/netgraph/ng_frame_relay.c
index 2784cc9..7923ad2 100644
--- a/sys/netgraph/ng_frame_relay.c
+++ b/sys/netgraph/ng_frame_relay.c
@@ -247,9 +247,10 @@ static int
ngfrm_newhook(node_p node, hook_p hook, const char *name)
{
const sc_p sc = node->private;
- const char *cp, *eptr;
- int dlci = 0;
- int ctxnum;
+ const char *cp;
+ char *eptr;
+ int dlci = 0;
+ int ctxnum;
/* Check if it's our friend the control hook */
if (strcmp(name, NG_FRAMERELAY_HOOK_DEBUG) == 0) {
OpenPOWER on IntegriCloud