diff options
author | Archie Cobbs <archie@FreeBSD.org> | 1999-11-24 01:03:08 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 1999-11-24 01:03:08 +0000 |
commit | 25792ef324067204618bc8ee5b465f4a625319a1 (patch) | |
tree | f4578629bb15de693acb6c12fbea227630f73671 /sys/netgraph/ng_ksocket.c | |
parent | a86ab8174f2e82461b40f01b6f25eec8e3d2606c (diff) | |
download | src-25792ef324067204618bc8ee5b465f4a625319a1.tar.gz src-25792ef324067204618bc8ee5b465f4a625319a1.zip |
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
Notes
Notes:
svn path=/head/; revision=53648
Diffstat (limited to 'sys/netgraph/ng_ksocket.c')
-rw-r--r-- | sys/netgraph/ng_ksocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_ksocket.c b/sys/netgraph/ng_ksocket.c index c1a3938417c5..485eeb527d9a 100644 --- a/sys/netgraph/ng_ksocket.c +++ b/sys/netgraph/ng_ksocket.c @@ -469,7 +469,7 @@ ng_ksocket_parse(const struct ng_ksocket_alias *aliases, const char *s, int family) { int k, val; - const char *eptr; + char *eptr; /* Try aliases */ for (k = 0; aliases[k].name != NULL; k++) { |